AvalonStudio.Behaviors.EditorToolTipBehavior.OnDetaching C# (CSharp) Method

OnDetaching() protected method

protected OnDetaching ( ) : void
return void
        protected override void OnDetaching()
        {
            editorVm = null;

            if (editor != null)
            {
                editor.DataContextChanged -= Editor_DataContextChanged;

                editor = null;
            }

            base.OnDetaching();
        }