A newer version of this page is available. Switch to the current version.

ContextItem.Click Event

Fires when the current item is clicked.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.2.dll


public event ContextItemClickEventHandler Click

Event Data

The Click event's data class is DevExpress.Utils.ContextItemClickEventArgs.


Handle the Click event to respond to a mouse click on the current ContextItem object.

For the ContextButton and CheckContextButton objects, if the ContextButtonBase.AllowHtmlText setting is enabled, and the button caption contains a hyperlink, a mouse click on the hyperlink also raises the ContextButtonBase.HyperlinkClick event.

For the RatingContextButton, a click on the button also changes its rating (see RatingContextButton.Rating), depending on the position of the mouse cursor over the button.

See Also