0

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

Hoka Biu
  • 27
  • 6

1 Answers1

0

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.

Nick
  • 4,787
  • 2
  • 18
  • 24