public void Remove(DocumentContent content) { System.Diagnostics.Debug.Assert(content != null); if (content == null) { return; } RemoveItem(content); Documents.Remove(content); content.Close(); }
public void Remove(DocumentContent content) { System.Diagnostics.Debug.Assert(content != null); if (content == null) { return; } RemoveItem(content); Documents.Remove(content); content.Close(); TabItem tab = null; if (ActiveDocument != null) { tab = ActiveDocument.ParentTab; } //DockManager.InvokeActiveTabChanged(tab); }
public void Remove(DocumentContent content) { System.Diagnostics.Debug.Assert(content != null); if (content == null) return; RemoveItem(content); Documents.Remove(content); content.Close(); }