Skip to main content
Bar

GalleryItem Class

Represents an item within a gallery.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public class GalleryItem :
    FrameworkContentElement,
    ICommandSource

#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.Glyph 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 Gallery.IsItemCaptionVisible and Gallery.IsItemDescriptionVisible properties to true.

See Also