Skip to main content

BarItem.Alignment Property

Gets or sets the horizontal alignment of the item’s link(s).

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public virtual BarItemLinkAlignment Alignment { get; set; }

Property Value

Type Default Description
DevExpress.XtraBars.BarItemLinkAlignment Default

A DevExpress.XtraBars.BarItemLinkAlignment enumeration value that specifies the horizontal alignment of the item’s link(s).


The image below shows item links that are aligned to the bar’s left and right edges.


This property is in effect only for item links displayed within Bars. In the Ribbon control, this property is only in effect for items displayed in the tab header area.

See Also