Built-in Control Layout Feature
Dock panels are containers and they can contain any of your controls. To display a single control within a dock panel, just place it inside the panel.
If you need to display two or more controls, you will certainly face questions regarding control layouting:
How to create an easy-maintainable layout of controls?
How to add labels to my controls?
How to arrange some of my controls vertically, while other controls being arranged horizontally?
How can I align the controls? Etc, etc.
All these tasks can be easily implemented using the Layout Manager - a separate powerful component providing a complete layout management solution.
However, it's also possible to use the layout management functionality that the DXDocking library ships with out-of-the-box.
When using the DXDocking library, no separate Layout Manager is required to lay out controls within panels, as all the neceessary functionality is already present in the DXDocking library.
Below are two dock panels where layouts of controls are built using the DXDocking library:

Here is a list of basic DXDocking built-in layout features:
-
Automatic Consistent Control Arrangement
You can easily build consistent layouts of your controls within dock panels, lining up the controls horizontally or vertically, or combining these arrangements. Control arrangement follows the Microsoft Design Guidelines.
-
Labels and Glyphs
For each your control, you can display a label and an image.
-
Groups and Tabbed Groups
Controls can be combined into regular and tabbed groups.
- Automatic Control Alignment
Controls are automatically aligned according to their labels, across the layout or locally within groups. In addition, auto-size and custom size modes are supported for labels.
- Runtime Customization
End-users can modify the layout at runtime by rearranging, resizing and hiding controls according to their preferences. Runtime customization is available in Customization mode.
-
Saving and Loading Layouts
The layout can be saved to and later restored from a data store.
|