Share via


Behavior Class

Encapsulates state information and zero or more ICommands into an attachable object.

Namespace: System.Windows.Interactivity
Assembly: System.Windows.Interactivity (in system.windows.interactivity.dll)

Syntax

public abstract class Behavior : Animatable, IAttachedObject

Remarks

This is an infrastructure class. Behavior authors should derive from Behavior<T> instead of from this class.

Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
     System.Windows.DependencyObject
       System.Windows.Freezable
         System.Windows.Media.Animation.Animatable
          System.Windows.Interactivity.Behavior
             System.Windows.Interactivity.Behavior

Thread Safety

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

See Also

Reference

Behavior Members
System.Windows.Interactivity Namespace