Skip to main content
A newer version of this page is available. .

BaseGallery.ItemClick Event

Fires when a Gallery item is clicked.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[DXCategory("Action")]
public event GalleryItemClickEventHandler ItemClick

Event Data

The ItemClick event's data class is GalleryItemClickEventArgs. The following properties provide information specific to this event:

Property Description
Gallery Gets the Gallery that contains the processed Gallery item. Inherited from GalleryItemEventArgs.
InRibbonGalleryLink For In-Ribbon galleries, gets the bar item link that displays the current gallery. Inherited from GalleryItemEventArgs.
Item Gets the Gallery item currently being processed. Inherited from GalleryItemEventArgs.

Remarks

The ItemClick event is raised after a Gallery item has been released. Handle this event to execute the action associated with the item.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ItemClick event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also