maui-devexpress-dot-maui-dot-core-dot-dxwraplayout-9ed264e4.md
Gets or sets how the layout aligns item lines. This is a bindable property.
Namespace : DevExpress.Maui.Core
Assembly : DevExpress.Maui.Core.dll
NuGet Package : DevExpress.Maui.Core
public LayoutItemAlignment LineAlignment { get; set; }
| Type | Description |
|---|---|
| LayoutItemAlignment |
Specifies the alignment of item lines within the layout.
|
Available values:
| Name | Description | Image |
|---|---|---|
| Start |
Items are aligned at the start.
|
| | Center |
Items are centered.
|
| | SpaceAround |
Items are evenly distributed; the first and last items have a half-size space.
|
| | SpaceBetween |
Items are evenly distributed. The first item is positioned at the start and the last item at the end.
|
| | SpaceEvenly |
Items are evenly distributed; items have equal space around them.
|
| | Fill |
Items occupy all available space; original item size proportions are saved.
|
| | FillUniform |
Items occupy all available space; original item size proportions are kept.
|
|
The following images shows how the DXWrapLayout control arranges item lines with different LineAlignment values:
Center Fill FillUniform SpaceAround SpaceBetween SpaceEvenly Start See Also