maui-404690-layouts-wrap-layout.md
The DXWrapLayout control sequentially positions its nested child controls from left to right. The layout breaks content to the next line at the edge of the viewport if necessary.
The following example adds a DXWrapLayout and configures its settings:
<dx:DXWrapLayout ItemSpacing="20"
LineSpacing="20" Margin="20"
ItemAlignment="Center"
Reverse="False" Wrap="Flex">
<!-- Add items here. -->
</dx:DXWrapLayout>
The following list contains properties specific to the DXWrapLayout control:
Specifies how the layout control aligns its child items.
ItemSpacingSpecifies the amount of space between the DXWrapLayout‘s child items.Reverse
Sets whether the layout control’s child controls are positioned in reversed order.
Defines the wrap mode for items within the DXWrapLayout control.
Regular - Items are wrapped - they are positioned in multiple lines if necessary.Flex - Items are wrapped and distributed evenly between layout rows or columns (depending on Orientation).NoWrap - Items are not wrapped - they are positioned in a single line.LineAlignmentSpecifies how the layout aligns item lines.LineSpacingDefines the gap between the DXWrapLayout child item lines.OrientationSets the direction of child item flow.