Skip to main content
ON

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DXWrapLayout.LineAlignment Property

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

#Declaration

C#
public LayoutItemAlignment LineAlignment { get; set; }

#Property Value

Type Description
LayoutItemAlignment

Specifies the alignment of item lines within the layout.

Available values:

Name Description Image
Start

Items are aligned at the start.

DevExpress Layouts for .NET MAUI - ItemAlignment - Start

Center

Items are centered.

DevExpress Layouts for .NET MAUI - ItemAlignment - Center

SpaceAround

Items are evenly distributed; the first and last items have a half-size space.

DevExpress Layouts for .NET MAUI - ItemAlignment - SpaceAround

SpaceBetween

Items are evenly distributed. The first item is positioned at the start and the last item at the end.

DevExpress Layouts for .NET MAUI - ItemAlignment - SpaceBetween

SpaceEvenly

Items are evenly distributed; items have equal space around them.

DevExpress Layouts for .NET MAUI - ItemAlignment - SpaceEvenly

Fill

Items occupy all available space; original item size proportions are saved.

DevExpress Layouts for .NET MAUI - ItemAlignment - Fill

FillUniform

Items occupy all available space; original item size proportions are kept.

DevExpress Layouts for .NET MAUI - ItemAlignment - FillUniform

#Remarks

The following images shows how the DXWrapLayout control arranges item lines with different LineAlignment values:

Center
DevExpress WrapLayout for MAUI - LineAlignment - Center
Fill
DevExpress WrapLayout for MAUI - LineAlignment - Fill
FillUniform
DevExpress WrapLayout for MAUI - LineAlignment - FillUniform
SpaceAround
DevExpress WrapLayout for MAUI - LineAlignment - SpaceAround
SpaceBetween
DevExpress WrapLayout for MAUI - LineAlignment - SpaceBetween
SpaceEvenly
DevExpress WrapLayout for MAUI - LineAlignment - SpaceEvenly
Start
DevExpress WrapLayout for MAUI - LineAlignment - Start
See Also