Back to Devexpress

BaseGallery.ShowItemImage Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-gallery-dot-basegallery-86b261c6.md

latest1.7 KB
Original Source

BaseGallery.ShowItemImage Property

Gets or sets whether Gallery items display their images.

Namespace : DevExpress.XtraBars.Ribbon.Gallery

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Appearance")]
public bool ShowItemImage { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(True)>
Public Property ShowItemImage As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true , to display the images of Gallery items; otherwise, false.

|

Remarks

The image displayed in Gallery items is specified by the GalleryItem.ImageOptions.Image property. If the ShowItemImage property is set to false , the images are not displayed.

You can also show/hide the text and description displayed in Gallery items using the BaseGallery.ShowItemText property.

See Also

ShowItemText

BaseGallery Class

BaseGallery Members

DevExpress.XtraBars.Ribbon.Gallery Namespace