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

RepositoryItemPopupBase.ContextButtonClick Event

Fires when a context button is clicked.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll


[DXCategory("Context Buttons")]
public event ContextItemClickEventHandler ContextButtonClick

Event Data

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


The ContextButtonClick event fires when an end-user clicks any context button displayed by editor items (see RepositoryItemPopupBase.ContextButtons). The ContextItemClickEventArgs.Item property allows you to determine the button being clicked. Handling the ContextButtonClick event allows you to respond to button clicks in a centralized way. You can also handle the ContextItem.Click event to respond to a click on a particular button.

See Also