Interface IKeyCommandBinder
Provides the functionality for single key command binding.
Namespace: Syncfusion.Shared.Utils.KeyBinding
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public interface IKeyCommandBinderProperties
Command
Gets command, that is binded.
Declaration
IKeyCommand Command { get; }Property Value
| Type | 
|---|
| IKeyCommand | 
Key
Gets key, that is binded.
Declaration
Keys Key { get; }Property Value
| Type | 
|---|
| System.Windows.Forms.Keys | 
Parent
Gets parent list, binding belongs to.
Declaration
IKeyCommandListBinder Parent { get; }Property Value
| Type | 
|---|
| IKeyCommandListBinder | 
Methods
GetCombinationName()
Gets full name of the combination, current binding is related to.
Declaration
string GetCombinationName()Returns
| Type | Description | 
|---|---|
| System.String | String that represents currently used combination. | 
ProcessKey(Keys)
Tries to process key.
Declaration
bool ProcessKey(Keys key)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Forms.Keys | key | Key to be processed. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | True if key was processed, otherwise false. |