Class KeyBindingUtilities
Class KeyBindingCollection.
Inheritance
Namespace: Telerik.Windows.Controls.SyntaxEditor.Commands
Assembly: Telerik.Windows.Controls.SyntaxEditor.dll
Syntax
public class KeyBindingUtilities : 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 this instance.
Declaration
public void Clear()
RegisterCommand(ICommand, Key, ModifierKeys, Object)
Registers the command.
Declaration
public void RegisterCommand(ICommand command, Key key, ModifierKeys modifierKeys, object commandParameter = null)
Parameters
System.Windows.Input.ICommand
command
The command. |
System.Windows.Input.Key
key
The key. |
System.Windows.Input.ModifierKeys
modifierKeys
The modifier keys. |
System.Object
commandParameter
The command parameter. |
SetInputBindings(InputBindingCollection)
Sets the input bindings.
Declaration
public void SetInputBindings(InputBindingCollection inputBindings)
Parameters
System.Windows.Input.InputBindingCollection
inputBindings
The input bindings. |
Exceptions
System.ArgumentNullException
InputBindings. |
UnregisterCommand(ICommand)
Unregisters the command.
Declaration
public void UnregisterCommand(ICommand command)
Parameters
System.Windows.Input.ICommand
command
The command. |