MouseHandlerServiceWrapper.OnMouseDown(PortableMouseEventArgs) Method
Override this method to handle the MouseDown event.
Namespace: DevExpress.Services
Assembly: DevExpress.Data.v20.2.dll
NuGet Packages: DevExpress.Data, DevExpress.WindowsDesktop.Data
Declaration
Parameters
Name | Type | Description |
---|---|---|
e | DevExpress.Portable.Input.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. |
Remarks
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.
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.