Skip to main content

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

LayoutControl.ItemLabelsAlignment Property

Gets the alignment of child LayoutItems’ content regions.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v24.2.dll

NuGet Package: DevExpress.Wpf.LayoutControl

#Declaration

public override LayoutItemLabelsAlignment ItemLabelsAlignment { get; set; }

#Property Value

Type Description
LayoutItemLabelsAlignment

The LayoutItemLabelsAlignment.Local value.

Available values:

Name Description
Default

Content regions of LayoutItems in the current group are aligned taking into account the labels of LayoutItems in other groups (Groups that have the ItemLabelsAlignment property set to Local are not taken into account).

Local

Content regions of LayoutItems in the current group are aligned locally, taking into account labels of nested groups, and disregarding labels in other groups.

#Remarks

The ItemLabelsAlignment property cannot be changed for the LayoutControl object. You can change the alignment of content regions in individual groups via the LayoutControl.ItemLabelsAlignment property. See Aligning contents of LayoutItems to learn more.

See Also