Skip to main content
A newer version of this page is available.
All docs
V19.1

MouseHandlerServiceWrapper.OnMouseDown(MouseEventArgs) Method

Override this method to handle a mouse down event.

Namespace: DevExpress.Services

Assembly: DevExpress.Data.v19.1.dll

Declaration

public virtual void OnMouseDown(
    MouseEventArgs e
)

Parameters

Name Type Description
e MouseEventArgs

A MouseEventArgs object containing information on pressed mouse buttons, coordinates of the mouse, and the amount the mouse wheel moved.

Remarks

A MouseDown event occurs when the mouse pointer is over the control and a mouse button is pressed. The OnMouseDown method enables you to handle mouse clicks over the control.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the OnMouseDown(MouseEventArgs) 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.

See Also