Class DiagramCommand
Inheritance
System.Object
DiagramCommand
Assembly: Syncfusion.EJ2.dll
Syntax
public class DiagramCommand : EJTagHelper
Constructors
DiagramCommand()
Declaration
Properties
CanExecute
Check the command is executable at the moment or not
Declaration
public object CanExecute { get; set; }
Property Value
Type |
Description |
System.Object |
|
Execute
Defines what to be executed when the key combination is recognized
Declaration
public object Execute { get; set; }
Property Value
Type |
Description |
System.Object |
|
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
IsChild
Declaration
protected override bool IsChild { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Name
Defines the name of the command
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Parameter
Defines any additional parameters that are required at runtime
Declaration
public string Parameter { get; set; }
Property Value
Type |
Description |
System.String |
|