Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to: Arrange items horizontally and vertically

$
0
0
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.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>