Skip to main content

LayoutItem.HeaderAlignment Property

Gets or sets whether the item’s content is aligned according to the group’s LayoutGroupBase.ItemHeadersAlignment option.

Namespace: DevExpress.UI.Xaml.Layout

Assembly: DevExpress.UI.Xaml.Layout.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public HeaderAlignment HeaderAlignment { get; set; }

Property Value

Type Description
HeaderAlignment

The HeaderAlignment value that specifies if the item’s content is aligned according to the group’s alignment setting.

Available values:

Name Description
Default

The specified LayoutItem’s header is taken into account when aligning other items within the same LayoutGroup according to the LayoutGroupBase.ItemHeadersAlignment option.

None

The specified LayoutItem’s header is not taken into account when aligning other items within the same LayoutGroup.

Remarks

By default, LayoutItems placed into a LayoutGroup are aligned by their headers according to the group’s LayoutGroupBase.ItemHeadersAlignment property. You can set the HeaderAlignment property to None to auto-size this item’s header and to ignore this item while calculating header alignment of other items.

See Also