Is there a way to touch-enable scrolling in a WPF ScrollViewer?

You should use the attached properties:

  • ScrollViewer.PanningMode
  • ScrollViewer.PanningDeceleration
  • ScrollViewer.PanningRatio

The PanningMode defaults to None in the ScrollViewer default style, but setting it to another value will enable touch scrolling. I’m currently investigating using this feature in my app and am looking for a good deceleration and ratio value… I’ll probably just have to test them out to find something that works well.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)