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

StandaloneGallery.ItemRightClick Event

Occurs whenever an end-user right-clicks an item within the current StandaloneGallery.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Event Data

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

You can also respond to an end-user left-clicking or double-clicking an item within a StandaloneGallery by handling the BaseGallery.ItemClick or the BaseGallery.ItemDoubleClick events respectively.

See Also