Skip to main content

LayoutGroup.ItemLabelsAlignment Property

Gets or sets how content regions of LayoutItems are aligned, according to their labels. This is a dependency property.

Namespace: DevExpress.Xpf.LayoutControl

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

NuGet Package: DevExpress.Wpf.LayoutControl

Declaration

public virtual LayoutItemLabelsAlignment ItemLabelsAlignment { get; set; }

Property Value

Type Description
LayoutItemLabelsAlignment

A LayoutItemLabelsAlignment value that specifies how content regions of LayoutItems are aligned.

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

See Aligning contents of LayoutItems to learn more.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ItemLabelsAlignment property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also