Skip to main content

MouseHandlerServiceWrapper.OnMouseWheel(PortableMouseEventArgs) Method

Override this method to handle the MouseWheel event.

Namespace: DevExpress.Services

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data


public virtual void OnMouseWheel(
    PortableMouseEventArgs e


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.


The MouseWheel event occurs when the mouse wheel moves while a control is focused. Use the OnMouseWheel method to handle this event.

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

See Also