Skip to main content

TdxCustomGalleryControl.Gallery Property

Specifies groups and items displayed within the gallery.

Declaration

property Gallery: TdxGalleryControlStructure read; write;

Property Value

Type
TdxGalleryControlStructure

Remarks

This property exposes a TdxGalleryControlStructure object, which allows you to populate the control with groups and items. At design time, the property provides an intuitive designer window. You can invoke this designer window using any of the following methods:

  • Double-click the TdxGalleryControl component residing on a form;

  • Select Edit… in the TdxGalleryControl component’s context menu;

  • In the Object Inspector, click the ellipsis button next to the Gallery property.

The image below shows the designer window populated with sample groups and items.

You can select multiple items and/or groups in the designer window while holding down the Ctrl or Shift key. In addition, you can copy selected items/groups by dragging and dropping while holding down the Ctrl key.

See Also