TriggerBase Generic Class

Expression Studio 4.0
Represents an object that can invoke actions conditionally.

Namespace: System.Windows.Interactivity
Assembly: System.Windows.Interactivity (in

public abstract class TriggerBase<T> : TriggerBase where T : DependencyObject

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.

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

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms