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 |
---|---|
gsm | The event fires in response to clicking a gallery item. It is not generated, if an item is selected or deselected programmatically. |
gsm | The event fires in the following cases:
|
gsm | The event fires if an item is selected or deselected by an end-user or programmatically. |