Bar

GalleryItem Class

Represents an item within a gallery.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public class GalleryItem :
    FrameworkContentElement,
    ICommandSource
Public Class GalleryItem
    Inherits FrameworkContentElement
    Implements ICommandSource

Related API Members

The following members accept/return GalleryItem objects:

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