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

RibbonControl.ItemPress Event

Fires after a links has been pressed.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Action")]
public event ItemClickEventHandler ItemPress

#Event Data

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

Property Description
Item Gets the BarItem whose link was clicked.
Link Gets the clicked BarItemLink.

#Remarks

The ItemPress event fires before the RibbonControl.ItemClick event since the latter is invoked after the mouse button has been released.

To respond to pressing the links that are associated with an individual item, handle this item’s BarItem.ItemPress event.

See Also