Skip to main content
A newer version of this page is available. .

GalleryItemGroup.Caption Property

Specifies the caption of the GalleryItemGroup object.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v18.2.dll

Declaration

[SmartTagProperty("Caption", "Appearance", SmartTagActionType.RefreshAfterExecute)]
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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.

See Also