Skip to main content

DXToolbar.ItemAlignment Property

Gets or sets how to align nested controls within toolbar. This is a bindable property.

Namespace: DevExpress.Maui.Controls

Assembly: DevExpress.Maui.Controls.dll

NuGet Package: DevExpress.Maui.Controls

Declaration

public LayoutItemAlignment ItemAlignment { get; set; }

Property Value

Type Description
LayoutItemAlignment

The alignment of items within toolbar.

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

See Also