Click or drag to resize
KeyBinding Class
Implements input binding for keyboard keys
Inheritance Hierarchy

Namespace: EmptyKeys.UserInterface.Input
Assembly: EmptyKeys.UserInterface (in EmptyKeys.UserInterface.dll) Version: 2.5.0.0 (2.5.0.0)
Syntax
C#
public class KeyBinding : InputBinding

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, KeyCode, ModifierKeys)
Initializes a new instance of the KeyBinding class.
Top
Properties
  NameDescription
Public propertyCommand
Gets the command.
(Inherited from InputBinding.)
Public propertyCommandParameter
Gets the command parameter.
(Inherited from InputBinding.)
Public propertyDependencyObjectType
Gets the type of the dependency object.
(Inherited from DependencyObject.)
Public propertyGesture
Gets or sets the gesture.
(Overrides InputBindingGesture.)
Public propertyIsFrozen
Gets a value indicating whether this instance is frozen.
(Inherited from Freezable.)
Public propertyIsRepeatEnabled
Gets or sets a value indicating whether this instance is repeat enabled.
(Inherited from InputBinding.)
Public propertyIsSealed
Gets a value indicating whether this instance is sealed.
(Inherited from DependencyObject.)
Public propertyKey
Gets or sets the key.
Public propertyModifiers
Gets or sets the modifiers.
Public propertyParent
Gets or sets the parent.
(Inherited from Freezable.)
Top
Methods
  NameDescription
Public methodClearValue
Clears the value.
(Inherited from DependencyObject.)
Public methodCoerceValue
Coerces the value.
(Inherited from DependencyObject.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from DependencyObject.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFreeze
Freezes this instance.
(Inherited from Freezable.)
Public methodGetHashCode
Returns a hash code for this instance.
(Inherited from DependencyObject.)
Public methodGetLocalValueEnumerator
Gets the local value enumerator.
(Inherited from DependencyObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Gets the value.
(Inherited from DependencyObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnPropertyChanged
Called when [property changed].
(Inherited from Freezable.)
Public methodReadLocalValue
Reads the local value.
(Inherited from DependencyObject.)
Public methodSetBinding
Sets the binding.
(Inherited from DependencyObject.)
Public methodSetResourceReference
Sets the resource reference.
(Inherited from DependencyObject.)
Public methodSetValue
Sets the value.
(Inherited from DependencyObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventChanged
Occurs when [changed].
(Inherited from Freezable.)
Top
Fields
  NameDescription
Public fieldStatic memberKeyProperty
The key property
Public fieldStatic memberModifiersProperty
The modifiers property
Top
See Also