Skip to main content

GalleryItemGroup.Caption Property

Specifies the caption of the GalleryItemGroup object.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public string Caption { get; set; }

Property Value

Type Description
String

A string which specifies the caption of the GalleryItemGroup object.

Remarks

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