Windows Dev Center

EventTriggerBehavior Class

Represents a behavior that listens for a specified event on its source and executes its actions when that event is fired.

System.Object
  DependencyObject
    Microsoft.Xaml.Interactions.Core.EventTriggerBehavior

Namespace:  Microsoft.Xaml.Interactions.Core
Assembly:  Microsoft.Xaml.Interactions (in Microsoft.Xaml.Interactions.dll)

public sealed class EventTriggerBehavior : DependencyObject, 
	IBehavior

The EventTriggerBehavior type exposes the following members.

  NameDescription
Public methodEventTriggerBehaviorInitializes a new instance of the EventTriggerBehavior class.
Top

  NameDescription
Public propertyActionsGets the collection of actions associated with the behavior. This is a dependency property.
Public propertyAssociatedObjectGets the DependencyObject to which the IBehavior will be attached.
Public propertyDispatcher (Inherited from DependencyObject.)
Public propertyEventNameGets or sets the name of the event to listen for. This is a dependency property.
Public propertySourceObjectGets the SourceObject dependency property.
Top

  NameDescription
Public methodAttachAttaches to the specified object.
Public methodClearValue (Inherited from DependencyObject.)
Public methodDetachDetaches this instance from its associated object.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetAnimationBaseValue (Inherited from DependencyObject.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetValue (Inherited from DependencyObject.)
Public methodReadLocalValue (Inherited from DependencyObject.)
Public methodSetValue (Inherited from DependencyObject.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldStatic memberActionsPropertySpecifies the collection of actions associated with the behavior.
Public fieldStatic memberEventNamePropertySpecifies the name of the event to listen for.
Public fieldStatic memberSourceObjectPropertyIdentifies the SourceObject dependency property.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft