A newer version of this page is available. Switch to the current version.

GalleryItemGroup.Caption Property

Specifies the caption of the GalleryItemGroup object.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[SmartTagProperty("Caption", "Appearance", SmartTagActionType.RefreshAfterExecute)]
public string Caption { get; set; }
<SmartTagProperty("Caption", "Appearance", SmartTagActionType.RefreshAfterExecute)>
Public Property Caption As String

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