New to Telerik UI for WPFStart a free 30-day trial

Represents class that holds the RadSpreadsheet key bindings.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Commands

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class KeyBindings

Inheritance: objectKeyBindings

Methods

Adds the specified input binding.

C#
public void Add(InputBinding inputBinding)
Parameters:inputBindingInputBinding

The input binding.

Adds the range.

C#
public void AddRange(IEnumerable<InputBinding> inputBindings)
Parameters:inputBindingsIEnumerable<InputBinding>

The input bindings.

Clears this instance.

C#
public void Clear()

Registers the command.

C#
public void RegisterCommand(ICommand command, Key key, ModifierKeys modifierKeys = 0, object commandParameter = null)
Parameters:commandICommand

The command.

keyKey

The key used for key combination.

modifierKeysModifierKeys

The modifier keys.

commandParameterobject

The command parameter.

Sets the input bindings.

C#
public void SetInputBindings(InputBindingCollection inputBindings)
Parameters:inputBindingsInputBindingCollection

The input bindings.