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
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 MouseWheel event occurs when the mouse wheel moves while a control is focused. Use the OnMouseWheel method to handle this event.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the OnMouseWheel(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.