Back to Devexpress

GalleryItem.Caption Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-galleryitem-4bf3deb8.md

latest2.5 KB
Original Source

GalleryItem.Caption Property

Gets or sets the item’s caption.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[SearchColumn]
public virtual string Caption { get; set; }
vb
<SearchColumn>
Public Overridable Property Caption As String

Property Value

TypeDescription
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.

See Also

Description

DistanceItemCaptionToDescription

ShowItemText

ItemCaptionAppearance

ItemDescriptionAppearance

MaxItemWidth

SeparatorChar

GalleryItem Class

GalleryItem Members

DevExpress.XtraBars.Ribbon Namespace