Dusty
Dusty

Reputation: 138

capture Touch event from the panorama control

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 control 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

Upvotes: 0

Views: 307

Answers (2)

Mick N
Mick N

Reputation: 14882

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.

Upvotes: 1

Matt Lacey
Matt Lacey

Reputation: 65564

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.

Upvotes: 0

Related Questions