Skip to main content
A newer version of this page is available. .

EditorButton.Click Event

Occurs when the current editor button is clicked.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

public event EventHandler Click

Event Data

The Click event's data class is EventArgs.

Remarks

Handle the Click to respond to a click on the current EditorButton. To respond to a click on any EditorButton within the ButtonEdit, handle the ButtonEdit.ButtonClick or RepositoryItemButtonEdit.ButtonClick event.

You can also handle the ButtonEdit.ButtonPressed and RepositoryItemButtonEdit.ButtonPressed events, which fire before the Click event when an EditorButton is pressed.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Click event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also