Skip to main content

TdxRibbonGalleryItem.OnGroupItemClick Event

Allows you to implement functionality common to all gallery items within a gallery.

Declaration

property OnGroupItemClick: TdxRibbonGalleryGroupItemClickEvent read; write;

Remarks

This event fires in response to clicking a gallery item or activating its functionality via the keyboard (using KeyTips, for instance).

Note that the event generation is dependant upon an item’s enabled state and a selection mode (see a gallery item’s Enabled property and a gallery’s Options.ItemSelectionMode property). It meets the following conditions:

Mode

Condition

gsmNone

The event fires in response to clicking a gallery item.

It is not generated, if an item is selected or deselected programmatically.

gsmSingle or gsmSingleInGroup

The event fires in the following cases:

  • The selection has changed from one item to another by an end-user or programmatically.

  • A selected item is deselected by an end-user (the item can be deselected by an end-user in this mode, if the gallery’s Options.ItemAllowDeselect property value is True) or programmatically.

gsmMultiple

The event fires if an item is selected or deselected by an end-user or programmatically.

See Also