Skip to main content

GalleryItem.Caption Property

Gets or sets the item’s caption.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[SearchColumn]
public virtual string Caption { get; set; }

Property Value

Type Description
String

A string that specifies the item’s caption.

Remarks

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