Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How to cancel navigation using OnNavigation override method? (Application Using Shell)

$
0
0

Hi to all,
I want to cancel a navigation due to validation reasons.
I find a method Cancel() from ShellNavigatingEventArgs parameter object in OnNavigating method but it doesn't work.
With the help of the debug mode i can check that even the Canceled property is change from false to true after using the Cancel() method. The Navigation continues anyway.

What am i missing here? Should i use other way to cancel the navigation ?

Regards.


Viewing all articles
Browse latest Browse all 204402

Trending Articles