开发者

Get location of all current touches on Windows Phone screen

开发者 https://www.devze.com 2023-03-15 18:02 出处:网络
How do I get the location of all current touches on the phone\'s screen in a mobile Silverlight a开发者_C百科pplication? The technique described at http://msdn.microsoft.com/en-us/library/ff434208.asp

How do I get the location of all current touches on the phone's screen in a mobile Silverlight a开发者_C百科pplication? The technique described at http://msdn.microsoft.com/en-us/library/ff434208.aspx seems to only apply to XNA applications. Otherwise, it gives the error "The name 'touchPanel' does not exist in the current context".


This article should help you determine all the touchpoints in a Silverlight WP7 Application.

The idea behind is to use TouchPointCollection in Codebehind.

0

精彩评论

暂无评论...
验证码 换一张
取 消