Skip to main content

RibbonControl.ItemPress Event

Fires after a links has been pressed.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v23.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