GalleryItem.Caption Property
Gets or sets the item’s caption.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v19.2.dll
Declaration
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Caption property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.