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
270
Unable to resize pane programatically
posted

 Hi,

I try to resize pane programatically, after it has been displayed but it doesn't resize. I try to resize by using:

manager.PaneFromKey("left").Size = new Size(800, 200);

Can anyone let me know how it can be resized programatically.

 

Parents
No Data
Reply
  • 44743
    posted

    The sizes of control panes are relative sizes to other panes in a group. You want to set the size of the pane's dock area pane, which is an absolute size:

    manager.PaneFromKey("left").DockAreaPane.Size = new Size(800, 200);

Children
No Data