简体   繁体   English

如何确定Silverlight WP7中的触摸位置?

[英]How to decide touch location in silverlight WP7?

Is there a general way to know x and y with the reference is the upper left corner of the screen? 是否有一般的方法可以通过屏幕的左上角知道x和y?

because when I'm trying to get x and y when I'm dragging an image, I get them according to the corner of the image, not the canvas that contains the image. 因为当我在拖动图像时尝试获取x和y时,我是根据图像的角而不是包含图像的画布获得它们的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM