触摸移动事件未触发 [英] Touch move event is not getting fired
问题描述
您好,所有Maestros,
Hello All Maestros,
推荐答案
我猜想这与Surface Toolkit触摸"的最常见原因有关.事件不起作用,因为该事件包含在不支持Touch事件的控件中,因此该事件无法通过容器向下传递到您的 控制.
I am guessing this is to do with the most common reason for Surface Toolkit "Touch" events not working, because it is contained within controls that do not support the Touch events, so the event cannot tunnel down through the containers to your control.
您需要确保使用的是SurfaceWindow而不是Window,并且任何其他容器也应该是 等效的表面,例如SurfaceScrollViewer.
You need to make sure you are using a SurfaceWindow rather than a Window, and any other containers should also be the Surface equivalent, like SurfaceScrollViewer.
您可能无法将ScatterView嵌入到Bing地图控件中(我尚未测试),您可能不得不将其置于控件之上.
You may not be able to embed the ScatterView within the Bing map control (I haven't tested), you may have to layer it on top of the control instead.
只是一些猜测.
此致,
皮特
Regards,
Pete
这篇关于触摸移动事件未触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!