To arrange DockLayoutManger items horizontally or vertically, use Layout Group objects. A LayoutGroup is a container that may contain different items:
- Other Layout Groups;
- Layout Panels;
- Tabbed Groups;
- Document Groups;
- Layout Control Items.
A layout group can arrange its items either horizontally or vertically. The orientation can be changed by setting the LayoutGroup.Orientation property.
In this example, we demonstrated how to build a layout with items arranged vertically and horizontally.
For this, we used a combination of vertical and horizontal layout groups.