Skip to main content

GalleryItemGroup.Caption Property

Specifies the caption of the GalleryItemGroup object.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public string Caption { get; set; }

Property Value

Type Description

A string which specifies the caption of the GalleryItemGroup object.


The visibility of group captions is controlled by the BaseGallery.ShowGroupCaption property. To access the gallery which owns the current group, use the GalleryItemGroup.Gallery property.

Instead of text, you can display a custom control within a group caption. See GalleryItemGroup.CaptionControl.

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