ARCed.UI.DockContentHandler.Show C# (CSharp) Method

Show() public method

public Show ( DockPane pane, IDockContent beforeContent ) : void
pane DockPane
beforeContent IDockContent
return void
        public void Show(DockPane pane, IDockContent beforeContent)
        {
            if (pane == null)
                throw (new ArgumentNullException(Strings.DockContentHandler_Show_NullPane));

            if (beforeContent != null && pane.Contents.IndexOf(beforeContent) == -1)
                throw (new ArgumentException(Strings.DockContentHandler_Show_InvalidBeforeContent));

            pane.DockPanel.SuspendLayout(true);

            this.DockPanel = pane.DockPanel;
            this.Pane = pane;
            pane.SetContentIndex(this.Content, pane.Contents.IndexOf(beforeContent));
            this.Show();

            pane.DockPanel.ResumeLayout(true, true);
        }

Same methods

DockContentHandler::Show ( ) : void
DockContentHandler::Show ( DockPane previousPane, DockAlignment alignment, double proportion ) : void
DockContentHandler::Show ( DockPanel dockPanel ) : void
DockContentHandler::Show ( DockPanel dockPanel, DockState dockState ) : void
DockContentHandler::Show ( DockPanel dockPanel, Rectangle floatWindowBounds ) : void