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
110
Set Size After AfterDockChange
posted

Hi,

I want to set the size of my docable window the moment it is undocked.

I tried setting the size using UltraDockManager1.ControlPanes(1).Size = ...  and e.Pane.Size =... but neither of them worked.

Does anyone have a suggestion?

Kind Regards Ibbe.

  • 44743
    Suggested Answer
    posted

    Get the control pane after the dock state has been changed. Then get its DockAreaPane property and set the size on that. For panes other than the dock area pane, the Size indicates a relative size to other panes in the same group.