Table of Contents

Class Interaction

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll

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 DependencyObject

The 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 DependencyObject

The object from which to retrieve the triggers.

Returns

TriggerCollection

A TriggerCollection containing the triggers associated with the specified object.