Override this method to handle the MouseDown event.
NuGet Package: DevExpress.Data
public virtual void OnMouseDown( PortableMouseEventArgs e )
Public Overridable Sub OnMouseDown( e As PortableMouseEventArgs )
This class is equivalent to System.Windows.Forms.MouseEventArgs and contains information on a pressed mouse button, the mouse coordinates, and the amount the mouse wheel moved.
The MouseDown event occurs when the mouse pointer is over a control and a user presses a mouse button. Use the OnMouseDown method to handle mouse clicks on the control.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the OnMouseDown(PortableMouseEventArgs) method.
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.