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
325
Ultradockmanager: How to have the panel set to maximum size
posted

Hi. I have a UltraDockManager docked to the bottom of my form. I have a ListBox inside that.

The Idea is that, it flies open if I add something to listbox or when the user hovers over the tab.

sort of like visual studio Error List, Output, Find Symbol tabs that sit at the bottom.

How do I set the size of the Panel to take up the whole height of the main form when it flies open?

 

Appreciate any help

Parents
No Data
Reply
  • 5118
    posted

    Set the Pane's FlyoutSize to the height of your form.  Some pseudocode:

    DockableControlPane dcp = this.ultraDockManager1.PaneFromControl(this.label3);
    dcp.Pinned = false;
    dcp.FlyoutSize = new Size(dcp.FlyoutSize.Width, this.Height);

Children
No Data