Skip to main content

EventToCommandBase Members

A base class for the EventToCommand behavior.

Fields

Name Description
CommandParameterProperty static Identifies the CommandParameter dependency property.
CommandProperty static Identifies the Command dependency property.
EventNameProperty static Identifies the EventName dependency property. Inherited from EventTriggerBase<T>.
MarkRoutedEventsAsHandledProperty static Identifies the MarkRoutedEventsAsHandled dependency property.
ProcessEventsFromDisabledEventOwnerProperty static Identifies the ProcessEventsFromDisabledEventOwner dependency property.
SourceNameProperty static Identifies the SourceName dependency property. Inherited from EventTriggerBase<T>.
SourceObjectProperty static Identifies the SourceObject dependency property. Inherited from EventTriggerBase<T>.
UseDispatcherProperty static Identifies the UseDispatcher dependency property.

Properties

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.

Methods

Name Description
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also