Hi
I have created a form that has a toolstrip (plain old Windows.Forms.Toolstrip) at the top.
This form also has a UltraDockManager containing 2 panels. The first panel is DockedLeft. The second one is DockedBottom.
When I resize the form small enough, the bottom panel overwrites my toolstrip.
I have attached a sample showing this behavior.
How to prevent that?
Hello Eric,
One possible workaround for the issue you’ve got is to use the ContainerControl. That control function as a container for other controls and provides focus management. So, drag the control from the toolbox and dock it to the form. Add the desired controls in the container and set it to the HostControl property of the UltraDockManager(this property could be set only in runtime ). In that way when you resize the form UltraDockManger will be resized in the frame of the host control, without affecting your menus.. More information about ContainerControl and HostControl property you could find on the following links:
http://msdn.microsoft.com/en-us/library/system.windows.forms.containercontrol%28v=vs.110%29.aspx
http://help.infragistics.com/doc/WinForms/2014.1/CLR4.0/?page=Infragistics4.Win.UltraWinDock.v14.1~Infragistics.Win.UltraWinDock.UltraDockManager~HostControl.html
I’ve implemented this suggestion in a simple sample, and you could run and evaluate it, please see attached zip.
Please let me know if you have any further questions.
I seriously thought you got it but ... our real application is just a bit more complex!
We let the user save/restore layout.
When I restore the layout, the whole dockmanager disappear!
I have attached another example. Just launch it and click the restore button to see the impact.