12
shouts

Windows 7 Multi-touch Panning with ScrollViewer in WPF 3.5 Part Duex

published 259 days, 2 hours, 56 minutes ago posted by http://rickrat.myopenid.com/http://rickrat.myopenid.com/ 260 days, 1 hour, 4 minutes ago
Saturday, November 14, 2009 11:37:02 AM GMT Friday, November 13, 2009 1:29:27 PM GMT

In my last post I described a class that wraps the ScrollViewer control to enable multi-touch panning in it.

Well, it’s not exactly the right way to do it. You should be receiving the pan messages in the Window, then finding the scroll viewer where the window was touched using a Hit Test, and scroll that ScrollViewer.

category: Smart Client | clicked: 63 | | source: blogs.compdj.com | show counter code