TargetedTriggerAction Generic Class

Expression Studio 4.0
Represents an action that can be targeted to affect an object other than its AssociatedObject.

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

public abstract class TargetedTriggerAction<T> : TargetedTriggerAction

TargetedTriggerAction extends TriggerAction to add knowledge of another element than the one it is attached to. This allows a user to invoke the action on an element other than the one it is attached to in response to a trigger firing. Override OnTargetChanged to hook or unhook handlers on the target element, and OnAttached/OnDetaching for the associated element. The type of the Target element can be constrained by the generic type parameter. If you need control over the type of the AssociatedObject, set a TypeConstraintAttribute on your derived type.

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