public static void RemoveContentWithName(this IDockableManager manager, string name) { var m = manager.ViewDictionary.FirstOrDefault(d => d.Name == name); if (m != null) { manager.RemoveDockableContent(m.View); } }
public static void RemoveDockAbleContent(this IDockableManager manager, object model) { manager.RemoveDockableContent(model); }
public void RemoveOperation(IDataProcess process) { dockableManager.RemoveDockableContent(process); process.Close(); }