Class GestureCommand
Represents a gesturecommand hold and perform keyboard command actions.
Inheritance
System.Object
GestureCommand
Implements
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class GestureCommand : Object, IGestureCommand
Constructors
GestureCommand()
Initializes a new instance of the GestureCommand class.
Declaration
public GestureCommand()
Properties
CanExecute
Occurs when the CanExecute(IGestureParameter, bool) method on the Command is called.
Declaration
public Func<IGestureParameter, bool> CanExecute { get; set; }
Property Value
Type |
---|
System.Func<IGestureParameter, System.Boolean> |
Command
Gets or sets the command to invoke when perform keyboard action.
Declaration
public ICommand Command { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
Gesture
Gets a sets the gesture to recognized movement by the user.
Declaration
public IGesture Gesture { get; set; }
Property Value
Type |
---|
IGesture |
Handled
Gets or sets a encapsulates a method that has no parameters and returns a value of the boolean type specified by the parameter.
Declaration
public Func<bool> Handled { get; set; }
Property Value
Type |
---|
System.Func<System.Boolean> |
Name
Gets or sets the name of the operation.
Declaration
public string Name { get; set; }
Property Value
Type |
---|
System.String |
Parameter
Gets or sets the parameter to pass to the Command property.
Declaration
public object Parameter { get; set; }
Property Value
Type |
---|
System.Object |