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

'Declaration
Protected Overridable Sub OnDetaching
'Usage

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