Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WPF supports touch or multi-touch screen?

I am wondering whether WPF on .Net 3.5 supports touch or multi-touch for laptop? Appreciate if there are some cool Demos to show the effect.

I am using VSTS2008 + C#.

thanks in advance, George

like image 904
George2 Avatar asked Aug 10 '09 12:08

George2


2 Answers

WPF 4.0 Beta 2 supports full multi-touch, but only on Windows 7, as Windows 7 is the first multi-touch enabled Windows version.

For 3.5 on XP you can try out the Breeze for WPF 3.5 multi-touch framework at http://code.google.com/p/breezemultitouch/ its open source and plugs into TUIO (multi-touch protocol). TUIO allows you to bridge between various multi-touch devices and your WPF 3.5 application without the need for operating system multi-touch support.

like image 165
badbod99 Avatar answered Sep 20 '22 13:09

badbod99


It's not really WPF's responsibility to support touch-devices, but the O/S. The O/S simply delegates the events of mouseDown == fingerTouchedScreen to WPF (not a 100% accurate statement, but good enough :) ).

If you want to develop WPF for touchscreen-devices, you really need to look at your UI design instead of what's supported and what's not.

This post has a nice answer for that.

Basically, you work with the same events as you'd do with your standard smith'n'wesson point'n'click devices :)

like image 25
cwap Avatar answered Sep 19 '22 13:09

cwap