Skip to main content
A newer version of this page is available. .

GalleryItem.Caption Property

Gets or sets the item’s caption.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.1.dll


[SmartTagProperty("Caption", "Appearance", 0, SmartTagActionType.RefreshAfterExecute)]
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