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

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.
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.
CommandTarget Gets or sets the target element on which to raise the specified 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>.
EventArgsConverter Gets or sets a converter used to convert the event’s argument to a command’s parameter. This is a dependency property.
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.
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 for the command to be performed. This is a dependency property.
PassEventArgsToCommand Gets or sets whether the event argument is passed to the command. This is a dependency property.
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