EventTriggerBase Generic Class
Expression Studio 4.0
Represents a trigger that can listen to an element other than its AssociatedObject.
Assembly: System.Windows.Interactivity (in system.windows.interactivity.dll)
EventTriggerBase extends TriggerBase to add knowledge of another object than the one it is attached to. This allows a user to attach a Trigger/Action pair to one element and invoke the Action in response to a change in another object somewhere else. Override OnSourceChanged to hook or unhook handlers on the source element, and OnAttached/OnDetaching for the associated element. The type of the Source 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.