EventToCommand Properties
A trigger that invokes a command when a specific event is fired.Name | Description |
---|---|
AllowChangingEventOwnerIsEnabled | Gets or sets whether the event owner’s IsEnabled property is set according to the Command’s CanExecute logic. This is a dependency property. |
Command | Specifies the command to invoke when the associated event is raised. This is a dependency property. Inherited from EventToCommandBase. |
CommandParameter | Specifies the parameter to pass to the Command. This is a dependency property. Inherited from EventToCommandBase. |
EventArgsConverter | Gets or sets a converter used to convert the event’s argument to a command’s parameter. 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. Inherited from EventToCommandBase. |
ModifierKeys | Gets or sets modifier keys that the user needs to press to execute a command. This is a dependency property. |
PassEventArgsToCommand | Gets or sets whether the event argument is passed to the command. 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. Inherited from EventToCommandBase. |
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. Inherited from EventToCommandBase. |
See Also