Class DiagramCommand
Inheritance
System.Object
Syncfusion.EJ2.EJTagHelper
DiagramCommand
Namespace: Syncfusion.EJ2.Diagrams
Assembly: Syncfusion.EJ2.dll
Syntax
public class DiagramCommand : EJTagHelper
Constructors
DiagramCommand()
Declaration
public DiagramCommand()
Properties
CanExecute
Check the command is executable at the moment or not
Declaration
public object CanExecute { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Execute
Defines what to be executed when the key combination is recognized
Declaration
public object Execute { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Gesture
Defines a combination of keys and key modifiers, on recognition of which the command will be executed typescript let node: NodeModel; node = { ... id: 'node', width: 100, height: 100, offsetX: 100, offsetY: 100, annotations : [{ content: 'text' }]; ... };
Declaration
public DiagramKeyGesture Gesture { get; set; }
Property Value
Type | Description |
---|---|
DiagramKeyGesture | The default value is null |
Name
Defines the name of the command
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Parameter
Defines any additional parameters that are required at runtime
Declaration
public string Parameter { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |