Constructor KeyBinding
KeyBinding()
Initializes a new instance of the KeyBinding class.
public KeyBinding()
KeyBinding(ICommand, KeyGesture)
Initializes a new instance of the KeyBinding class.
public KeyBinding(ICommand command, KeyGesture gesture)
Parameters
command
ICommandAssociated command.
gesture
KeyGestureAssociated KeyGesture.
KeyBinding(ICommand, Key, ModifierKeys)
Initializes a new instance of the KeyBinding class.
public KeyBinding(ICommand command, Key key, ModifierKeys modifiers)
Parameters
command
ICommandAssociated command.
key
KeyKey.
modifiers
ModifierKeysKey modifiers.