Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxRibbonGalleryItem.OnGroupItemClick Event

In This Article

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

#Declaration

Delphi
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