Hi,
we used GridBagLayoutManager to layout arbitrary nmber of user controls. And users requested to resize those user controls after intial layout.
How do we accomplish this:
(1) some other layout control /Manager frolm infragistic ?
(2) Write your own Layout Manager of Panel Controls ? ( such as one using SpliterContainer)
(3) Some Hidden feature of GridBagLayoutManager setting ( or ask for an enhancement )
(4) Render User Control in a grid ?
Thanks
Jimmy
James,
Your best choice in this case is to layout your controls in a split container. The GridBagLayoutManager does not have the functionality you need.
Michael S.
Mike,
Thanks for your quick reply.
(1) It seems that I need to dynamically add SplitContainer since intial layout could have arbitraty number of user controls in grid. Do you have any recommendataion on that per your experience ?
(2) Is there a way to slightly modify/override GridBagLayout Manager to "Inject" split container ? we have used it everywhere and it is preferred to not change too much.
My users have seen some other form loading up charts from MatLab data on a resizable grid of 4 cells and would like to see the same for dynamically layout grid.
Hi Jimmy,
There's nothing built-in to GridBagLayoutManager to allow the users to resize individual controls. Resizing the container will resize the controls within it, of course.
If your users need to resize individual controls, then you will need to use something like the UltraSplitter, Splitter, or SplitContainer. In theory, you could also use a WinGrid, I suppose and use the UltraControlContainerEditor to embed controls within it. It depends on the needs of your application.