开发者

capture Touch event from the panorama control

开发者 https://www.devze.com 2023-01-23 06:55 出处:网络
I made my own user control that captures touch events via Touch.FrameReported. When i place my control on a \'normal\' page everything works fine. But when i place it in a panorama co开发者_如何学JAVA

I made my own user control that captures touch events via Touch.FrameReported. When i place my control on a 'normal' page everything works fine. But when i place it in a panorama co开发者_如何学JAVAntrol it goes wrong, the up and down movement works as expected, but when i move my finger left or right the panorama control moves with it. How can i stop this behavior?

Greets


If your control isn't too large (say like a toggle switch) this solution posted recently seems to be working out for people for dealing with gesture conflicts on pano / pivot. You might like to check it out.

Preventing the Pivot or Panorama controls from scrolling

For UX reasons though I wouldn't consider doing this on anything larger as it's likely to cause confusion for users.


You dont'!

Don't put [custom] gestures on a pivot or panorama page. You've already hit one of the technical limitations for doing so but there are bigger potential UX issues you would have to deal with.

0

精彩评论

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