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