EventToCommand Properties
Executes a command in response to a raised event.Name | Description |
---|---|
AllowChangingEventOwnerIsEnabled | Gets or sets whether the event source object’s IsEnabled property value reflects the command’s CanExecute method value. 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 a 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 priority of the Dispatcher that invokes the associated command. 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 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. 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 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 the source object even if the source object 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 that raises the event. This is a dependency property. Inherited from EventTriggerBase<T>. |
SourceObject | Gets or sets a source object that raises the event. This is a dependency property. Inherited from EventTriggerBase<T>. |
UseDispatcher | Gets or sets if the EventToCommand behavior uses the Dispatcher to call the command. This is a dependency property. Inherited from EventToCommandBase. |
See Also