Skip to main content

GalleryItem.Caption Property

Gets or sets the item’s caption.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public virtual string Caption { get; set; }

Property Value

Type Description

A string that specifies the item’s caption.


This property specifies the gallery item’s caption. The item’s description which is displayed below the caption is specified by the GalleryItem.Description property.

The visibility of the item’s caption and description is specified by the BaseGallery.ShowItemText property.

If the BaseGallery.AllowHtmlText property is set to true, you can use HTML tags to format the GalleryItem.Caption and GalleryItemGroup.Caption. For detailed information see HTML Text Formatting.

See Also