Share via


EventTrigger Class

A trigger that listens for a specified event on its source and fires when that event is fired.

Namespace: System.Windows.Interactivity
Assembly: System.Windows.Interactivity (in system.windows.interactivity.dll)

Syntax

'Declaration
Public Class EventTrigger
    Inherits EventTriggerBase(Of Object)
'Usage
Dim instance As EventTrigger
public class EventTrigger : EventTriggerBase<Object>
public ref class EventTrigger : public EventTriggerBase<Object^>
public class EventTrigger extends EventTriggerBase<Object>
public class EventTrigger extends EventTriggerBase<Object>

Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
     System.Windows.DependencyObject
       System.Windows.Freezable
         System.Windows.Media.Animation.Animatable
           System.Windows.Interactivity.TriggerBase
             System.Windows.Interactivity.EventTriggerBase
               System.Windows.Interactivity.EventTriggerBase
                System.Windows.Interactivity.EventTrigger
                   Microsoft.Expression.Interactivity.Core.TimerTrigger

Thread Safety

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

See Also

Reference

EventTrigger Members
System.Windows.Interactivity Namespace