Skip to main content

KeyToCommand Properties

Allows you to bind a KeyGesture to a command.
Name Description
CanFreeze Gets a value that indicates whether the object can be made unmodifiable. Inherited from Freezable.
Command Gets or sets the command to invoke when the associated event is raised. This is a dependency property. Inherited from EventToCommandBase.
CommandParameter Gets or sets a parameter to pass to the EventToCommandBase.Command. This is a dependency property. Inherited from EventToCommandBase.
CommandTarget Gets or sets the target element on which to raise the specified Command. This is a dependency property. Inherited from EventToCommandBase.
DependencyObjectType Gets the DependencyObjectType that wraps the CLR type of this instance. Inherited from DependencyObject.
Dispatcher Gets the Dispatcher this DispatcherObject is associated with. Inherited from DispatcherObject.
DispatcherPriority Gets or sets the priority of the Dispatcher that invokes the associated command. This is a dependency property. Inherited from EventToCommandBase.
Event Gets or sets a routed event that triggers the associated command. Inherited from EventTriggerBase<T>.
EventName Gets or sets the name of an event that triggers the associated command. Inherited from EventTriggerBase<T>.
HasAnimatedProperties Gets a value that indicates whether one or more AnimationClock objects is associated with any of this object’s dependency properties. Inherited from Animatable.
IsFrozen Gets a value that indicates whether the object is currently modifiable. Inherited from Freezable.
IsSealed Gets a value that indicates whether this instance is currently sealed (read-only). Inherited from DependencyObject.
KeyGesture Gets or sets the key gesture that invokes the command. This is a dependency property.
MarkRoutedEventsAsHandled Gets or sets whether the associated routed event is marked as handled when the command is executed. This is a dependency property. Inherited from EventToCommandBase.
ProcessEventsFromDisabledEventOwner Gets or sets whether the EventToCommand processes events for the source object even if the source object is disabled. This is a dependency property. Inherited from EventToCommandBase.
Source Gets the source object. Inherited from EventTriggerBase<T>.
SourceName Gets or sets the name of the source object that raises the event. This is a dependency property. Inherited from EventTriggerBase<T>.
SourceObject Gets or sets a source object that raises the event. This is a dependency property. Inherited from EventTriggerBase<T>.
UseDispatcher Gets or sets if the EventToCommand behavior uses the Dispatcher to call the command. This is a dependency property. Inherited from EventToCommandBase.
See Also