Skip to main content
A newer version of this page is available. .

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 the parameter to pass to the EventToCommandBase.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 dispatcher priority for invoking the associated command using the Dispatcher. 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 the 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 used for this 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 associated control even if the associated control 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 whose event is handled. This is a dependency property. Inherited from EventTriggerBase<T>.
SourceObject Gets or sets the source object whose event is handled. This is a dependency property. Inherited from EventTriggerBase<T>.
UseDispatcher Gets or sets the if the EventToCommandBase.Command is performed using the Dispatcher. This is a dependency property. Inherited from EventToCommandBase.
See Also