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
65
Resize control container nested tools based on form resize
posted

I have a control container which internally holds a toolbarmanager in a panel .Is there a way we can resize the toolbar manager inside the control container when the form is resized.

 Right now when ever the form resize's the whole control container shows or hides based on postiion. However , I need the resize to be applied on  internal toolbar manager tool by tool.

 

Thanks.

  • 53790
    Suggested Answer
    posted

    Hello Shelum,

    Maybe one possible approach to achieve the desired behavior could be:

    ContainerControl container = new ContainerControl();

    container.Size = new System.Drawing.Size(300, 300);

    container.Dock = DockStyle.Bottom;

    container.Parent = this;

    container.BackColor = Color.Red;

     

    ultraToolbarsManager1.DockWithinContainer = container;

    Please take a look at the attached sample for more details. Please let me know if you have any questions.

    Regards

    UltraToolbarManagerWithContainerControl.zip