TriggerBase Generic Class

Represents an object that can invoke actions conditionally.

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

Syntax

'Declaration
Public MustInherit Class TriggerBase(Of T As DependencyObject)
    Inherits TriggerBase
'Usage
Dim instance As TriggerBase(Of T)
public abstract class TriggerBase<T> : TriggerBase where T : DependencyObject
generic<typename T> where T : DependencyObject
public ref class TriggerBase abstract : public TriggerBase

Remarks

TriggerBase is the base class for controlling actions. Override OnAttached() and OnDetaching() to hook and unhook handlers on the AssociatedObject. You may constrain the types that a derived TriggerBase may be attached to by specifying the generic parameter. Call InvokeActions() to fire all Actions associated with this TriggerBase.

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.TriggerBase
               Microsoft.Expression.Interactivity.Core.PropertyChangedTrigger
               Microsoft.Expression.Interactivity.Media.StoryboardTrigger

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

TriggerBase Members
System.Windows.Interactivity Namespace