Ejemplo n.º 1
0
        /// <summary>
        /// Show content into default documents pane
        /// </summary>
        public void ShowAsDocument()
        {
            if (ContainerPane == null)
            {
                _containerPane = DockManager.AddDocument(this);
            }

            ContainerPane.Show(this);
        }
Ejemplo n.º 2
0
        /// <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);
 }