Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
710
LayoutStyle to FillContainer
posted

There are couple of posts mentioned the dockpane will fill the rest of the screen if setting the dockmanager layout style to FillContainer. I have done it but the dockpane does not fill the screen. Is there any othe settings that one needs to set?

Below is how I add the dockpane to the form:  

GuiAreaPane = new DockAreaPane(DockedLocation.DockedLeft);

DockableControlPane ControlPane = new DockableControlPane();

ControlPane.Control = mycontrol;

GuiAreaPane.Panes.Add(ControlPane);

this.ultraDockManager1.DockAreas.Add(GuiAreaPane);

ControlPane.Activate();

Parents
No Data
Reply
  • 44743
    posted

    The dock area pane will not fill the screen, just the remaining area of the Form not occupied by other dock areas. I have tried your code and everything works ok. Make sure you do not have SaveSettings set to True. When you's application loads, it may be loading the layout file from the last time the app was run and changing your setting on LayoutStyle back to Standard.

Children
No Data