protected virtual void OnRedundantChildDock(DockBase dock) { dock.IsHidden = true; DoRedundancyCheck(); DoConsolidateCheck(); }
protected virtual void DoRedundancyCheck() { if (!IsEmpty) { return; } DockBase pDockParent = Parent as DockBase; if (null == pDockParent) { return; } pDockParent.OnRedundantChildDock(this); }