The KeyBinding type exposes the following members.

Constructors

  NameDescription
Public methodKeyBinding()()()()
Initializes a new instance of the KeyBinding class.
Public methodKeyBinding(ICommand, KeyGesture)
Initializes a new instance of the KeyBinding class.
Public methodKeyBinding(ICommand, Key, ModifierKeys)
Initializes a new instance of the KeyBinding class.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyCommand
Gets or sets the command that is bound by this instance.
(Inherited from InputBinding.)
Public propertyCommandParameter
Gets or sets the command parameter to use as the parameter during execution.
(Inherited from InputBinding.)
Public propertyCommandTarget
Gets or sets the command target to execute the command on if not the currently focused one should be used.
(Inherited from InputBinding.)
Public propertyGesture
Gets or sets the gesture that is bound by this instance.
(Inherited from InputBinding.)
Public propertyKey
Gets or sets the key to use for the KeyGesture.
Public propertyModifiers
Gets or sets the modifiers to use for the KeyGesture.

See Also