Bar

BarStaticItem.ImageToTextAlignment Property

Specifies whether the bar item image should go before or after this item caption.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DefaultValue(BarItemImageToTextAlignment.BeforeText)]
[SupportedByRibbon(SupportedByRibbonKind.NonSupported)]
public virtual BarItemImageToTextAlignment ImageToTextAlignment { get; set; }
<DefaultValue(BarItemImageToTextAlignment.BeforeText)>
<SupportedByRibbon(SupportedByRibbonKind.NonSupported)>
Public Overridable Property ImageToTextAlignment As BarItemImageToTextAlignment

Property Value

Type Default Description
DevExpress.XtraBars.BarItemImageToTextAlignment

BeforeText

Specifies whether the image should be drawn before or after the item text.

Remarks

The ImageToTextAlignment property is not available when the button is hosted inside a Ribbon.

See Also