BaseGallery.ItemClick Event
Fires when a Gallery item is clicked.
Namespace: DevExpress.XtraBars.Ribbon.Gallery
Assembly: DevExpress.XtraBars.v20.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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.
Related GitHub Examples
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.