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

Show() public method

public Show ( DockPane previousPane, DockAlignment alignment, double proportion ) : void
previousPane DockPane
alignment DockAlignment
proportion double
return void
        public void Show(DockPane previousPane, DockAlignment alignment, double proportion)
        {
            if (previousPane == null)
                throw (new ArgumentException(Strings.DockContentHandler_Show_InvalidPrevPane));

            if (DockHelper.IsDockStateAutoHide(previousPane.DockState))
                throw (new ArgumentException(Strings.DockContentHandler_Show_InvalidPrevPane));

            previousPane.DockPanel.SuspendLayout(true);

            this.DockPanel = previousPane.DockPanel;
            this.DockPanel.DockPaneFactory.CreateDockPane(this.Content, previousPane, alignment, proportion, true);
            this.Show();

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

Same methods

DockContentHandler::Show ( ) : void
DockContentHandler::Show ( DockPane pane, IDockContent beforeContent ) : void
DockContentHandler::Show ( DockPanel dockPanel ) : void
DockContentHandler::Show ( DockPanel dockPanel, DockState dockState ) : void
DockContentHandler::Show ( DockPanel dockPanel, Rectangle floatWindowBounds ) : void