BarLargeButtonItem.CaptionAlignment Property
Gets or sets the position of the caption text relative to the image.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DefaultValue(BarItemCaptionAlignment.Bottom)]
public virtual BarItemCaptionAlignment CaptionAlignment { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Bar |
Bottom | One of the Bar |
Available values:
Name | Description |
---|---|
Left |
|
Top |
|
Right |
|
Bottom |
|
#Remarks
The images below display all possible variants of caption text positioning:
Item caption can be set via its BarItem.Caption property. An image can be assigned using either the BarItem.ImageOptions.ImageIndex, BarItem.ImageOptions.Image, BarItem.ImageOptions.LargeImageIndex or BarItem.ImageOptions.LargeImage property.