windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-514fe54c.md
Fires when a link within the Ribbon Control is clicked.
Namespace : DevExpress.XtraBars.Ribbon
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DXCategory("Action")]
public event ItemClickEventHandler ItemClick
<DXCategory("Action")>
Public Event ItemClick As ItemClickEventHandler
The ItemClick 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. |
| MouseButton | Gets the pressed mouse button. |
The ItemClick event occurs after a pressed link has been released. To perform specific actions when a link is pressed but not yet released, handle the RibbonControl.ItemPress event.
The BarItem.ItemClickFireMode option specifies when the Click event fires, immediately or postponed, after processing the current event queue.
See Also