Interface IKeyCommandList
Provides the functionality for the list of the commands.
Inherited Members
System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ICollection.Count
System.Collections.ICollection.IsSynchronized
System.Collections.ICollection.SyncRoot
System.Collections.IEnumerable.GetEnumerator()
Namespace: Syncfusion.Shared.Utils.KeyBinding
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public interface IKeyCommandList : ICollection, IEnumerable
Properties
Item[String]
Gets the command by name.
Declaration
IKeyCommand this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Property Value
Type |
---|
IKeyCommand |
Methods
Add(String)
Creates new command and adds it to list.
Declaration
IKeyCommand Add(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the command. |
Returns
Type | Description |
---|---|
IKeyCommand | Newly created command. |
Clear()
Clears list.
Declaration
void Clear()
Remove(String)
Removes command from list.
Declaration
void Remove(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the command. |