windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitem-5e9fa0df.md
Fires when clicking the editor.
Namespace : DevExpress.XtraEditors.Repository
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DXCategory("Events")]
public event EventHandler Click
<DXCategory("Events")>
Public Event Click As EventHandler
The Click event's data class is EventArgs.
Handle the event to perform particular actions each time an editor is clicked. Note that this event fires when releasing the mouse button and is immediately followed by the RepositoryItem.MouseUp event. If you need to perform specific actions when pressing a mouse button, handle the RepositoryItem.MouseDown event instead.
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.
properties.TextEditStyle = TextEditStyles.HideTextEditor;
properties.Click += buttonColumnColumnProperties_Click;
UpdateButtons(properties, active);
See Also