Skip to main content

EventToCommandBase Properties

A base class for the EventToCommand behavior.
Name Description
Command Specifies the command to invoke when the associated event is raised. This is a dependency property.
CommandParameter Specifies the parameter to pass to the Command. This is a dependency property.
EventName Specifies the name of the event that triggers the associated command. This is a dependency property. Inherited from EventTriggerBase<T>.
MarkRoutedEventsAsHandled Specifies whether to mark the associated routed event as handled when the command is executed. This is a dependency property.
ProcessEventsFromDisabledEventOwner Specifies whether the EventToCommand processes events for the associated control even if the associated control is disabled. This is a dependency property.
Source Gets the source object. Inherited from EventTriggerBase<T>.
SourceName Specifies the name of the source object whose event is handled. This is a dependency property. Inherited from EventTriggerBase<T>.
SourceObject Specifies the source object whose event is handled. This is a dependency property. Inherited from EventTriggerBase<T>.
UseDispatcher Gets or sets if the Command is performed using the Dispatcher. This is a dependency property.
See Also