We have DockAreaPanes on a form, with a grid at the top and other forms at the bottom showing data from the current grid's row in text editors.
When we increase the height of the form, it increases the height of the bottom DockAreaPane. I would like it to increase the top one instead to show more rows.
Is there a setting that will do this?
The short answer is no, there is no one-touch setting that gets that behavior, at least not that I was able to find.
I attached a sample that demonstrates how to get this behavior with a few property settings, most notably by bottom-docking all the panes, and by docking the pane to be resized last. I didn't delve too deeply into our code but it looks like the layout logic designates the last pane as the one that picks up the slack, and since both panes are bottom-docked, it starts with the bottom-most pane and goes up, rather than from top to bottom.
That worked great!
I didn't have to bottom dock all the DockAreaPanes, they're still docked top and bottom. I just changed the order they're added to the ultradockmanager's DockAreas collection so the grid's pane was added last.
Thanks for your help