Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GalleryItem Class

Represents an item within a gallery.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public class GalleryItem :
    ICloneable,
    ISupportCommandBinding,
    IAppearanceOwner,
    IDXImageUriClient,
    IAccessiblePropertiesProvider

#Remarks

A gallery consists of groups of gallery items.The GalleryItem class represents a gallery item. To access gallery items that belong to a specific gallery group use the GalleryItemGroup.Items property.

A gallery item is visually represented by an image which is specified by the GalleryItem.ImageOptions.Image or GalleryItem.ImageOptions.ImageIndex property. The item’s caption and description are specified by the GalleryItem.Caption and GalleryItem.Description properties. To make the item’s caption and description visible, set the BaseGallery.ShowItemText property to true.

See Gallery Items for more information.

#Inheritance

Object
GalleryItem
See Also