src/Misc/EFTools/DesignXmlCore/Base/Shell/TreeGridDesignerInPlaceEdit.cs
/// <summary>
///     End insertion mode when focus is lost
/// </summary>
End insertion mode when focus is lost
End insertion mode when focus is lost
protected override void OnLostFocus(EventArgs e)
        {
            var parent = Parent as TreeGridDesignerTreeControl;
            base.OnLostFocus(e);
            Debug.Assert(parent != null, "parent of TreeGridDesignerInPlaceEdit must be TreeGridDesignerTreeControl");
            if (parent != null
                && parent.InsertMode)
            {
                parent.EndInsert();
            }
        }
protected override void OnLostFocus ( EventArgs e ) { var parent = Parent as TreeGridDesignerTreeControl ; base . OnLostFocus ( e ) ; Debug . Assert ( parent != null , " " ) ; if ( parent != null && parent . InsertMode ) { parent . EndInsert ( ) ; } }
End insertion mode when focus is lost
End insertion mode when focus is lost
// base method may destroy parent link, so get parent control first. // tell the branch to end insert mode
e
EventArgs