Skip to main content
A newer version of this page is available. .
Bar

BarItem.Alignment Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[DefaultValue(BarItemLinkAlignment.Default)]
[DXCategory("Appearance")]
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).

Remarks

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

BarItem_Alignment

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