EventToCommand Properties
Executes a command in response to a raised event.Name | Description |
---|---|
ActualEventOwner | Gets an actual event owner. This is a dependency property. Inherited from EventTrigger<T>. |
AllowChangeEventOwnerIsEnabled | Gets or sets whether the event owner object’s IsEnabled property value reflects the command’s CanExecute method value. This is a dependency property. |
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. |
EventArgsConverter | Gets or sets an object that converts the event’s argument to a command’s parameter. This is a dependency property. |
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. |
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. |
ModifierKeys | Gets or sets modifier keys that need to be pressed to call the command. This is a dependency property. |
PassEventArgsToCommand | Gets or sets whether the event arguments are passed to the command. This is a dependency property. |
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