Skip to main content
Bar

BarItem.Alignment Property

Gets or sets the default alignment of bar item links corresponding to the current bar item, when they are displayed within a bar. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

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

#Declaration

public BarItemAlignment Alignment { get; set; }

#Property Value

Type Description
BarItemAlignment

A DevExpress.Xpf.Bars.BarItemAlignment value that specifies the default alignment of the current bar item's links.

#Remarks

Use the Alignment property to specify the default alignment of bar item links that correspond to the current bar item, when they are displayed within a bar. To override the alignment settings for individual links, use the BarItemLinkBase.Alignment property.

You can also specify the default alignment of all links displayed within a bar via the bar's Bar.BarItemsAlignment property.

See Also