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

BaseGallery.ShowItemText Property

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

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[DefaultValue(false)]
public bool ShowItemText { get; set; }

Property Value

Type Default Description
Boolean **false**

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.

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