ClassKeyBindings
Class
Represents class that holds the RadSpreadsheet key bindings.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Commands
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
cs-api-definition
public class KeyBindings
Inheritance: objectKeyBindings
Methods
Add(InputBinding)
Adds the specified input binding.
Declaration
cs-api-definition
public void Add(InputBinding inputBinding)
Parameters
inputBinding
InputBinding
The input binding.
AddRange(IEnumerable<InputBinding>)
Adds the range.
Declaration
cs-api-definition
public void AddRange(IEnumerable<InputBinding> inputBindings)
Parameters
inputBindings
IEnumerable<InputBinding>
The input bindings.
RegisterCommand(ICommand, Key, ModifierKeys, object)
Registers the command.
Declaration
cs-api-definition
public void RegisterCommand(ICommand command, Key key, ModifierKeys modifierKeys = 0, object commandParameter = null)
Parameters
command
The command.
key
Key
The key used for key combination.
modifierKeys
ModifierKeys
The modifier keys.
commandParameter
The command parameter.
SetInputBindings(InputBindingCollection)
Sets the input bindings.
Declaration
cs-api-definition
public void SetInputBindings(InputBindingCollection inputBindings)
Parameters
inputBindings
InputBindingCollection
The input bindings.