Share via


Behavior.OnDetaching Method

Called when the behavior is being detached from its AssociatedObject, but before it has actually occurred.

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

Syntax

protected virtual void OnDetaching ()

Remarks

Override this to unhook functionality from 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