Back to Devexpress

Ribbon Gallery Items

vcl-155018-expressbars-fundamentals-ribbon-ribbon-galleries-gallery-items.md

latest2.2 KB
Original Source

Ribbon Gallery Items

  • Dec 28, 2020

A gallery item represents a single command in a gallery. Along with a caption and description, a gallery item is provided with an icon that displays the command execution sample.

A gallery provides default hints for items. Hovering a mouse pointer over an item displays a hint window containing text specified by the gallery item’s Caption property.

A gallery item is represented by a TdxRibbonGalleryGroupItem object available via the gallery group‘s Items property. This object provides the following interface:

MemberDescription
CaptionSpecifies a gallery item’s caption.
DescriptionSpecifies a descriptive text for the gallery item.
Glyph, ImageIndexSpecifies an explanatory image for the gallery item.
SelectedSpecifies whether a gallery item is selected.
OnClickProvides functionality for a gallery item.

At design time, you can easily customize the gallery structure and exchange items between groups using the Ribbon gallery designer.

See Also

How to Create an in-Ribbon Gallery at Design Time

Ribbon Dropdown Gallery

Ribbon Galleries