Class
KeyBindings

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.

Clear()

Clears this instance.

Declaration

cs-api-definition
public void Clear()

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

ICommand

The command.

key

Key

The key used for key combination.

modifierKeys

ModifierKeys

The modifier keys.

commandParameter

object

The command parameter.

SetInputBindings(InputBindingCollection)

Sets the input bindings.

Declaration

cs-api-definition
public void SetInputBindings(InputBindingCollection inputBindings)

Parameters

inputBindings

InputBindingCollection

The input bindings.