Share via


Behavior.Attach Method

Attaches to the specified object.

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

Syntax

public void Attach (
    DependencyObject dependencyObject
)

Parameters

dependencyObject

The object to attach to.

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 Class
Behavior Members
System.Windows.Interactivity Namespace