Class CommandAttribute
Represents a class that contains the CommandAttribute.
Inheritance
System.Object
CommandAttribute
Namespace: Syncfusion.Shared.Utils.KeyBinding.Implementation
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public class CommandAttribute : Attribute
Constructors
CommandAttribute(String)
Initializes a new instance of the CommandAttribute class.
Declaration
public CommandAttribute(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Unique name which identify method as command for keys binding |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | name can not be NULL |
| System.ArgumentException | name can not be empty |
Properties
Name
Gets the name of the command.
Declaration
public string Name { get; }
Property Value
| Type |
|---|
| System.String |