EventTriggerBase Members

Represents a trigger that can listen to an object other than its AssociatedObject.

The following tables list the members exposed by the EventTriggerBase type.

Public Fields

  Name Description
public fieldstatic ActionsProperty  (Inherited from TriggerBase)
public fieldstatic SourceNameProperty  
public fieldstatic SourceObjectProperty  


Public Properties

(see also Protected Properties)

  Name Description
public property Actions  Gets the actions associated with this trigger.  (Inherited from TriggerBase)
public property CanFreeze  (Inherited from Freezable)
public property DependencyObjectType  (Inherited from DependencyObject)
public property Dispatcher  (Inherited from DispatcherObject)
public property HasAnimatedProperties  (Inherited from Animatable)
public property IsFrozen  (Inherited from Freezable)
public property IsSealed  (Inherited from DependencyObject)
public property Source Gets the resolved source. If is not set or cannot be resolved, defaults to AssociatedObject.
public property SourceName Gets or sets the name of the element this EventTriggerBase listens for as a source. If the name is not set or cannot be resolved, the AssociatedObject will be used. This is a dependency property.
public property SourceObject Gets or sets the target object. If TargetObject is not set, the target will look for the object specified by TargetName. If an element referred to by TargetName cannot be found, the target will default to the AssociatedObject. This is a dependency property.


Protected Properties

  Name Description
protected property AssociatedObject  Gets the object to which the trigger is attached.  (Inherited from TriggerBase)
protected property AssociatedObjectTypeConstraint Overridden. Gets the type constraint of the associated object.
protected property SourceTypeConstraint Gets the source type constraint.


Public Methods

(see also Protected Methods)

  Name Description
public method ApplyAnimationClock  Overloaded. (Inherited from Animatable)
public method Attach  (Inherited from TriggerBase)
public method BeginAnimation  Overloaded. (Inherited from Animatable)
public method CheckAccess  (Inherited from DispatcherObject)
public method ClearValue  Overloaded. (Inherited from DependencyObject)
public method Clone  (Inherited from Animatable)
public method CloneCurrentValue  (Inherited from Freezable)
public method CoerceValue  (Inherited from DependencyObject)
public method Detach  Detaches this instance from its associated object.  (Inherited from TriggerBase)
public method Equals  Overloaded. (Inherited from DependencyObject)
public method Freeze  Overloaded. (Inherited from Freezable)
public method GetAnimationBaseValue  (Inherited from Animatable)
public method GetAsFrozen  (Inherited from Freezable)
public method GetCurrentValueAsFrozen  (Inherited from Freezable)
public method GetHashCode  (Inherited from DependencyObject)
public method GetLocalValueEnumerator  (Inherited from DependencyObject)
public method GetType  (Inherited from Object)
public method GetValue  (Inherited from DependencyObject)
public method InvalidateProperty  (Inherited from DependencyObject)
public method ReadLocalValue  (Inherited from DependencyObject)
public methodstatic ReferenceEquals  (Inherited from Object)
public method SetCurrentValue  (Inherited from DependencyObject)
public method SetValue  Overloaded. (Inherited from DependencyObject)
public methodstatic ShouldSerializeStoredWeakReference  (Inherited from Animatable)
public method ToString  (Inherited from Object)
public method VerifyAccess  (Inherited from DispatcherObject)


Protected Methods

  Name Description
protected method CloneCore  (Inherited from Freezable)
protected method CloneCurrentValueCore  (Inherited from Freezable)
protected method CreateInstance  (Inherited from Freezable)
protected method CreateInstanceCore  Creates a new instance of the TriggerBase derived class.  (Inherited from TriggerBase)
protected method Finalize  (Inherited from Object)
protected methodstatic Freeze  Overloaded. (Inherited from Freezable)
protected method FreezeCore  (Inherited from Animatable)
protected method GetAsFrozenCore  (Inherited from Freezable)
protected method GetCurrentValueAsFrozenCore  (Inherited from Freezable)
protected method GetEventName Specifies the name of the Event this EventTriggerBase is listening for.
protected method InvokeActions  (Inherited from TriggerBase)
protected method MemberwiseClone  (Inherited from Object)
protected method OnAttached Overridden. Called after the trigger is attached to an AssociatedObject.
protected method OnChanged  (Inherited from Freezable)
protected method OnDetaching Overridden. Called when the trigger is being detached from its AssociatedObject, but before it has actually occurred.
protected method OnEvent Called when the event associated with this EventTriggerBase is fired. By default, this will invoke all actions on the trigger.
protected method OnFreezablePropertyChanged  Overloaded. (Inherited from Freezable)
protected method OnPropertyChanged  (Inherited from Freezable)
protected method ReadPreamble  (Inherited from Freezable)
protected method ShouldSerializeProperty  (Inherited from DependencyObject)
protected method WritePostscript  (Inherited from Freezable)
protected method WritePreamble  (Inherited from Freezable)


Public Events

  Name Description
public event Changed  (Inherited from Freezable)
public event PreviewInvoke  Event handler for registering to PreviewInvoke.  (Inherited from TriggerBase)


Explicit Interface Implementations

  Name Description
System.Windows.Interactivity.IAttachedObject.AssociatedObject  Gets the object to which the trigger is attached.  (Inherited from TriggerBase)


See Also


EventTriggerBase Class
System.Windows.Interactivity Namespace