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

BarItemCaptionAlignment Enum

Contains values specifying the position of caption text relative to the image.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public enum BarItemCaptionAlignment

#Members

Name Description
Left

CaptionAlignment - Left Positions the item’s caption text to the left of the image.

Top

CaptionAlignment - Top Positions the item’s caption text above the image.

Right

CaptionAlignment - Right Positions the item’s caption text to the right of the image.

Bottom

CaptionAlignment - Bottom Positions the item’s caption text under the image.

#Related API Members

The following properties accept/return BarItemCaptionAlignment values:

#Remarks

Values listed in the BarItemCaptionAlignment enumeration are used to set the BarLargeButtonItem.CaptionAlignment property.

See Also