Skip to main content

Bar.BarItemsAlignment Property

Gets or sets the default alignment of all bar item links that reside within the current bar.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public BarItemAlignment BarItemsAlignment { get; set; }

#Property Value

Type Description
BarItemAlignment

A DevExpress.Xpf.Bars.BarItemAlignment value that specifies the default alignment of all bar item links that reside within the current bar.

#Remarks

The BarItemsAlignment property specifies the default alignment of bar item links displayed within the current bar. You can override this alignment setting for individual bar items via the BarItem.Alignment property, and for individual bar item links via the BarItemLinkBase.Alignment property.

If the BarItemsAlignment property is set to Default, bar item links are aligned, by default, at the bar's nearest edge.

See Also