/// <summary> /// Show content into default documents pane /// </summary> public void ShowAsDocument() { if (ContainerPane == null) { _containerPane = DockManager.AddDocument(this); } ContainerPane.Show(this); }
/// <summary> /// Show contained contents as documents and close this pane /// </summary> public virtual void TabbedDocument() { while (Contents.Count > 0) { DockableContent contentToRemove = Contents[0]; Remove(contentToRemove); DockManager.AddDocument(contentToRemove); } ChangeState(PaneState.TabbedDocument); }
public override void Show() { DockManager.AddDocument(this); }