0

I am not trying to cripple the program. The program has a master page and a detail page which has a picture viewer that supports flick gesture, and user can flick forward and backward to view the pictures (I implement this by handling the TouchMove event on an Image control).

The Problem: After user navigate from master page to the detail page, he can flick backward to the master page. The flick gesture is a system built-in functionality of the Frame control, I don't have to white any code to enable that gesture. If the finger swipes and leaves screen quickly, the system flick gesture is recognized. If the finger swipe is slow and steady, then the Image control has the change to fire the TouchMove event.

The question is how to disable flick gesture on the Frame? I use buttons to navigate between master and detail page so I don't need it.

OS: Windows 7, .NET 4.0.

2
  • Please show relevant XAML. (event, gesture bindings whatever) Mar 14, 2014 at 16:36
  • @safetyOtter there is nothing special, write a window with a Frame hosting a page, once you navigate to another page, you can swipe your finger to navigate back to the previous page. On a touch monitor of course. That is what I want to disable.
    – kennyzx
    Mar 15, 2014 at 3:35

1 Answer 1

1

How about adding Stylus.IsFlicksEnabled="False" to your frame?

1
  • It works! But instead of setting this property on the frame, set it on each page to make it work. It is the hosted page that receives the navigate forward/backward command, not the hosting frame.
    – kennyzx
    Jun 5, 2014 at 1:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.