Class KeysBindingAttribute
Represents a class that contains KeysBindingAttribute.
Inheritance
System.Object
KeysBindingAttribute
Namespace: Syncfusion.Shared.Utils.KeyBinding.Implementation
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public class KeysBindingAttribute : Attribute
Constructors
KeysBindingAttribute(Keys)
Initializes a new instance of the KeysBindingAttribute class with a key sequence.
Declaration
public KeysBindingAttribute(Keys key)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.Keys | key | Key sequence. |
KeysBindingAttribute(Keys, Keys)
Initializes a new instance of the KeysBindingAttribute class with a key sequence.
Declaration
public KeysBindingAttribute(Keys key1, Keys key2)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.Keys | key1 | First key in the sequence. |
| System.Windows.Forms.Keys | key2 | Second key in the sequence. |
KeysBindingAttribute(Keys[])
Initializes a new instance of the KeysBindingAttribute class.
Declaration
public KeysBindingAttribute(params Keys[] keys)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.Keys[] | keys | Key sequence. |
Properties
Keys
Gets the keys which was assigned to the current instance.
Declaration
public Keys[] Keys { get; }
Property Value
| Type |
|---|
| System.Windows.Forms.Keys[] |