Share via


Behavior.OnAttached Method

Called after the behavior is attached to an AssociatedObject.

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

Syntax

protected virtual void OnAttached ()

Remarks

Override this to hook up functionality to the AssociatedObject.

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