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.
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;
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