I use winUI3 to build my app and use PointerWheelChanged
event in ListView to capture mouse wheel but it only works with mouse device but not with touchpad.
Thanks
I use winUI3 to build my app and use PointerWheelChanged
event in ListView to capture mouse wheel but it only works with mouse device but not with touchpad.
Thanks
That is because touch pad is no longer firing PointerWheelChanged
events. Here is a quote from the documentation:
Starting with Windows 8.1, ScrollViewer uses an underlying manipulation logic that interprets track pad gestures as actions that the ScrollViewer responds to, and thus the gesture is considered handled by the control and the PointerWheelChanged event is not fired anymore.