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
commandICommandAssociated command.
gestureKeyGestureAssociated KeyGesture.
KeyBinding(ICommand, Key, ModifierKeys)
Initializes a new instance of the KeyBinding class.
public KeyBinding(ICommand command, Key key, ModifierKeys modifiers)
Parameters
commandICommandAssociated command.
keyKeyKey.
modifiersModifierKeysKey modifiers.