Skip to main content

EventToCommandBase Members

A base class for the EventToCommand behavior.

Constructors

Name Description
EventToCommandBase() Initializes a new instance of the EventToCommandBase class.

Fields

Name Description
AssociatedObjectProperty static Identifies the AssociatedObject dependency property. Inherited from Behavior.
CommandParameterProperty static Identifies the CommandParameter dependency property.
CommandProperty static Identifies the Command dependency property.
DispatcherPriorityProperty static Identifies the DispatcherPriority dependency property.
EventNameProperty static Identifies the EventName dependency property. Inherited from EventTrigger<T>.
EventOwnerProperty static Identifies the EventOwner dependency property. Inherited from EventTrigger<T>.
MarkRoutedEventsAsHandledProperty static Identifies the MarkRoutedEventsAsHandled dependency property.
ProcessEventsFromDisabledEventOwnerProperty static Identifies the ProcessEventsFromDisabledEventOwner dependency property.

Properties

Name Description
ActualEventOwner Gets an actual event owner. This is a dependency property. Inherited from EventTrigger<T>.
Command Gets or sets the command to invoke when the associated event is raised. This is a dependency property.
CommandParameter Gets or sets a parameter to pass to the Command. This is a dependency property.
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.
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.
ProcessEventsFromDisabledEventOwner Gets or sets whether the EventToCommand processes events for event owner objects even if they are disabled. This is a dependency property.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. 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