[英]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时,我是根据图像的角而不是包含图像的画布获得它们的。
You can see this. 你可以看到这个。 How do you find the screen position of a control in silverlight on WP7?
您如何在WP7的Silverlight中找到控件的屏幕位置?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.