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

GalleryItem Class

Represents an item within a gallery.

Namespace: DevExpress.Xpf.Bars

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

Declaration

public class GalleryItem :
    FrameworkContentElement,
    ICommandSource

The following members 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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GalleryItem class.

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