Bar

BarItem.Alignment Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DefaultValue(BarItemLinkAlignment.Default)]
[DXCategory("Appearance")]
public virtual BarItemLinkAlignment Alignment { get; set; }
<DefaultValue(BarItemLinkAlignment.Default)>
<DXCategory("Appearance")>
Public Overridable Property Alignment As BarItemLinkAlignment

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