Back to Devexpress

RibbonControl.ItemClick Event

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-514fe54c.md

latest2.5 KB
Original Source

RibbonControl.ItemClick Event

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

Declaration

csharp
[DXCategory("Action")]
public event ItemClickEventHandler ItemClick
vb
<DXCategory("Action")>
Public Event ItemClick As ItemClickEventHandler

Event Data

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

PropertyDescription
ItemGets the BarItem whose link was clicked.
LinkGets the clicked BarItemLink.
MouseButtonGets the pressed mouse button.

Remarks

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

ItemRightClick

ItemPress

ItemClick

PerformClick

ItemClickFireMode

CausesValidation

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace