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

KeyToCommand Properties

Allows you to specify a key combination that invokes a command.
Name Description
ActualEventOwner Gets an actual event owner. This is a dependency property. Inherited from EventTrigger<T>.
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 Command. This is a dependency property. Inherited from EventToCommandBase.
DispatcherPriority Gets or sets the priority of the DispatcherQueue that invokes the associated command. The default value is null which means that the DispatcherQueue is not used to invoke the associated command. This is a dependency property. Inherited from EventToCommandBase.
EventName Gets or sets the name of an event that triggers the associated command. This is a dependency property. Inherited from EventTrigger<T>.
EventOwner Gets or sets a source object that raises the event. This is a dependency property. Inherited from EventTrigger<T>.
IsAttached Gets whether the behavior is attached to its associated object. Inherited from Behavior.
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 event owner objects even if they are disabled. This is a dependency property. Inherited from EventToCommandBase.
See Also