Back to Devexpress

BaseGallery.ShowItemText Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-gallery-dot-basegallery-b443f1b3.md

latest2.3 KB
Original Source

BaseGallery.ShowItemText Property

Gets or sets whether Gallery items display their caption and description.

Namespace : DevExpress.XtraBars.Ribbon.Gallery

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Behavior")]
public bool ShowItemText { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(False)>
Public Property ShowItemText As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true , to display the caption and description of Gallery items; otherwise, false.

|

Remarks

The text and description displayed in Gallery items are specified by the GalleryItem.Caption and GalleryItem.Description properties respectively. If the ShowItemText property is set to false , these are not displayed.

You can also show/hide the images displayed in Gallery items using the BaseGallery.ShowItemImage property.

See Also

Caption

Description

ItemAutoSizeMode

MaxItemWidth

ShowItemImage

BaseGallery Class

BaseGallery Members

DevExpress.XtraBars.Ribbon.Gallery Namespace