Click or drag to resize

KeyEventToCommand Properties

The KeyEventToCommand type exposes the following members.

Properties
  NameDescription
Public propertyAssociatedKeys
Gets or sets the associated keys.
Protected propertyAssociatedObject
Gets the object to which this TriggerAction is attached.
(Inherited from TriggerActionFrameworkElement.)
Protected propertyAssociatedObjectTypeConstraint
Gets the associated object type constraint.
(Inherited from TriggerActionFrameworkElement.)
Public propertyBindCanExecuteToIsEnabled
Gets or sets a value indicating whether the attached element must be disabled when the Command property's CanExecuteChanged event fires. If this property is true, and the command's CanExecute method returns false, the element will be disabled. If this property is false, the element will not be disabled when the command's CanExecute method changes. This is a DependencyProperty.
(Inherited from EventToCommand.)
Public propertyBindCanExecuteToIsEnabledValue
Gets or sets a value indicating whether the attached element must be disabled when the Command property's CanExecuteChanged event fires. If this property is true, and the command's CanExecute method returns false, the element will be disabled. This property is here for compatibility with the Silverlight version. This is NOT a DependencyProperty. For data binding, use the BindCanExecuteToIsEnabled property.
(Inherited from EventToCommand.)
Public propertyCanFreeze
Gets a value that indicates whether the object can be made unmodifiable.
(Inherited from Freezable.)
Public propertyCommand
Gets or sets the ICommand that this trigger is bound to. This is a DependencyProperty.
(Inherited from EventToCommand.)
Public propertyCommandParameter
Gets or sets an object that will be passed to the Command attached to this trigger. This is a DependencyProperty.
(Inherited from EventToCommand.)
Public propertyCommandParameterValue
Gets or sets an object that will be passed to the Command attached to this trigger. This property is here for compatibility with the Silverlight version. This is NOT a DependencyProperty. For data binding, use the CommandParameter property.
(Inherited from EventToCommand.)
Public propertyDependencyObjectType
Gets the DependencyObjectType that wraps the CLR type of this instance. 
(Inherited from DependencyObject.)
Public propertyDispatcher
Gets the Dispatcher this DispatcherObject is associated with.
(Inherited from DispatcherObject.)
Public propertyHasAnimatedProperties
Gets a value that indicates whether one or more AnimationClock objects is associated with any of this object's dependency properties.
(Inherited from Animatable.)
Public propertyIsEnabled
Gets or sets a value indicating whether this action will run when invoked. This is a dependency property.
(Inherited from TriggerAction.)
Public propertyIsFrozen
Gets a value that indicates whether the object is currently modifiable.
(Inherited from Freezable.)
Public propertyIsSealed
Gets a value that indicates whether this instance is currently sealed (read-only).
(Inherited from DependencyObject.)
Public propertyMarkEventAsHandled
Gets or sets a value indicating whether the Handled property must set to after execution of the command.
Public propertyPassEventArgsToCommand
Gets or sets a value indicating whether the EventArgs passed to the event handler will be forwarded to the Execute(Object) method, when the event is fired (if the bound ICommand accepts an argument of type EventArgs).

For example, use a RelayCommandT to get the arguments of a MouseMove event.

(Inherited from EventToCommand.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate propertySystem#Windows#Interactivity#IAttachedObject#AssociatedObject
Gets the associated object.
(Inherited from TriggerAction.)
Top
See Also