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

'Declaration
Protected Overridable Sub OnAttached
'Usage

Me.OnAttached
protected virtual void OnAttached ()
protected:
virtual void OnAttached ()
protected void OnAttached ()
protected function 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