Class Interaction
Static class that owns the Triggers and Behaviors attached properties. Handles propagation of AssociatedObject change notifications.
public static class Interaction
- Inheritance
-
Interaction
- Inherited Members
Methods
GetBehaviors(DependencyObject)
Gets the BehaviorCollection associated with a specified object.
public static BehaviorCollection GetBehaviors(DependencyObject obj)
Parameters
obj
DependencyObjectThe object from which to retrieve the BehaviorCollection.
Returns
- BehaviorCollection
A BehaviorCollection containing the behaviors associated with the specified object.
GetTriggers(DependencyObject)
Gets the TriggerCollection containing the triggers associated with the specified object.
public static TriggerCollection GetTriggers(DependencyObject obj)
Parameters
obj
DependencyObjectThe object from which to retrieve the triggers.
Returns
- TriggerCollection
A TriggerCollection containing the triggers associated with the specified object.