System.Windows.Interactivity.Trigger.OnDetach C# (CSharp) Method

OnDetach() protected method

Allows the trigger to detach from its associated object.
protected OnDetach ( ) : void
return void
        protected virtual void OnDetach()
        {
            if (_action != null) {
                ((IAttachedObject)_action).Detach();
            }
            _actions.AssociatedObject = null;
        }