Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarBaseButtonItem.ImageToTextAlignment Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(BarItemImageToTextAlignment.BeforeText)]
[SupportedByRibbon(SupportedByRibbonKind.NonSupported)]
public virtual BarItemImageToTextAlignment ImageToTextAlignment { get; set; }

#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.

The figure below illustrates buttons with different ImageToTextAlignment property values; buttons are displayed in a regular toolbar.

align

See Also