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
2325
Cannot programmatically resize panes
posted

In my test application I try to resize a pane by setting the panes Size property.  Attached is my source code to illustrate my problem.  What I am trying to do is to be able to shrink  or grow the width of a panel(pane) as needed.  I need this functionality.   I am using 13.1 controls.

To resize I tried this when the user clicks a button it:

        _leftPanelWidth += 100;

    var myPane = ultraDockManager1.DockAreas[0].Panes[0];

    myPane.Size = new Size(_leftPanelWidth, myPane.Size.Height);

But the panes stay in the same spot.

What am I doing wrong?

dockmanagertest.zip
Parents Reply Children
No Data