Class KeyBindings
Represents class that holds the RadSpreadsheet key bindings.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Commands
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class KeyBindings
Methods
Add(InputBinding)
Adds the specified input binding.
Declaration
public void Add(InputBinding inputBinding)
Parameters
System.Windows.Input.InputBinding
inputBinding
The input binding. |
AddRange(IEnumerable<InputBinding>)
Adds the range.
Declaration
public void AddRange(IEnumerable<InputBinding> inputBindings)
Parameters
System.Collections.Generic.IEnumerable<System.Windows.Input.InputBinding>
inputBindings
The input bindings. |
Clear()
Clears this instance.
Declaration
public void Clear()
RegisterCommand(ICommand, Key, ModifierKeys, Object)
Registers the command.
Declaration
public void RegisterCommand(ICommand command, Key key, ModifierKeys modifierKeys, object commandParameter = null)
Parameters
System.Windows.Input.ICommand
command
The command. |
System.Windows.Input.Key
key
The key used for key combination. |
System.Windows.Input.ModifierKeys
modifierKeys
The modifier keys. |
System.Object
commandParameter
The command parameter. |
SetInputBindings(InputBindingCollection)
Sets the input bindings.
Declaration
public void SetInputBindings(InputBindingCollection inputBindings)
Parameters
System.Windows.Input.InputBindingCollection
inputBindings
The input bindings. |