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

MouseHandlerServiceWrapper.OnMouseWheel(MouseEventArgs) Method

Override this method to handle a mouse wheel event.

Namespace: DevExpress.Services

Assembly: DevExpress.Data.v19.1.dll

Declaration

public virtual void OnMouseWheel(
    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 MouseWheel event occurs when the mouse wheel moves while the control has focus. The OnMouseWheel method enables you to handle this event.

The following code snippets (auto-collected from DevExpress Examples) contain references to the OnMouseWheel(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