Skip to main content

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

GalleryItem.Caption Property

Gets or sets the item’s caption.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.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