ClassKeyBindingCollection
Class
Represents KeyBindings collection.
Definition
Namespace:Telerik.Windows.Documents.Commands
Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll
Syntax:
cs-api-definition
public class KeyBindingCollection
Inheritance: objectKeyBindingCollection
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.
RegisterCommandDescriptor(CommandDescriptorBase, Key, ModifierKeys)
Registers the command descriptor.
Declaration
cs-api-definition
public void RegisterCommandDescriptor(CommandDescriptorBase commandDescriptor, Key key, ModifierKeys modifierKeys = 0)
Parameters
commandDescriptor
The command descriptor.
key
Key
The key.
modifierKeys
ModifierKeys
The modifier keys.
SetInputBindings(InputBindingCollection)
Sets the input bindings.
Declaration
cs-api-definition
public void SetInputBindings(InputBindingCollection inputBindings)
Parameters
inputBindings
InputBindingCollection
The input bindings.