AddBinding Method (command, modifiers, key, handler)
NamespacesICSharpCode.AvalonEdit.EditingTextAreaInputHandlerAddBinding(ICommand, ModifierKeys, Key, ExecutedRoutedEventHandler)
Adds a command and input binding.
Declaration Syntax
C#Visual BasicVisual C++
public void AddBinding(
	ICommand command,
	ModifierKeys modifiers,
	Key key,
	ExecutedRoutedEventHandler handler
Public Sub AddBinding ( _
	command As ICommand, _
	modifiers As ModifierKeys, _
	key As Key, _
	handler As ExecutedRoutedEventHandler _
void AddBinding(
	ICommand^ command, 
	ModifierKeys modifiers, 
	Key key, 
	ExecutedRoutedEventHandler^ handler
command (ICommand)
The command ID.
modifiers (ModifierKeys)
The modifiers of the keyboard shortcut.
key (Key)
The key of the keyboard shortcut.
handler (ExecutedRoutedEventHandler)
The event handler to run when the command is executed.

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: