Skip to main content
Bar

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

RibbonGalleryBarItem.GalleryItemClick Event

Fires when a gallery item is clicked.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Event Data

The GalleryItemClick 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

This event is equivalent to the BaseGallery.ItemClick event of the RibbonGalleryBarItem.Gallery object. See the BaseGallery.ItemClick topic for more information.

See Also