RibbonControl.ItemPress Event

Fires after a links has been pressed.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DXCategory("Action")]
public event ItemClickEventHandler ItemPress
<DXCategory("Action")>
Public Event ItemPress As ItemClickEventHandler

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