Back to Devexpress

DXWrapLayout.ItemAlignment Property

maui-devexpress-dot-maui-dot-core-dot-dxwraplayout.md

latest2.4 KB
Original Source

DXWrapLayout.ItemAlignment Property

Gets or sets how the layout control aligns its child items. This is a bindable property.

Namespace : DevExpress.Maui.Core

Assembly : DevExpress.Maui.Core.dll

NuGet Package : DevExpress.Maui.Core

Declaration

csharp
public LayoutItemAlignment ItemAlignment { get; set; }

Property Value

TypeDescription
LayoutItemAlignment

Specifies the alignment of items within the layout.

|

Available values:

NameDescriptionImage
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.

|

|

Remarks

The following animation illustrates different item alignments:

See Also

DXWrapLayout Class

DXWrapLayout Members

DevExpress.Maui.Core Namespace