Page Navigation in Windows Phone 8.1

Total Post:149

Points:1043
 1578  View(s)
Ratings:
Rate this:
Coming from Windows Phone 8 I never thought there will be a lot of changes done to the Windows Phone 8.1 code. Basically I'm just wondering how to do page navigation just like how you would do it on Windows Phone 8. To do that You would add:

NavigationService.Navigate(new Uri("/SecondPage.xaml", UriKind.Relative));
But that code doesn't work for Windows Phone 8.1. Can someone please help me with this. If possible provide any links or documentation on all the NEW WINDIWS PHONE 8.1 methods.
  1. Post:397

    Points:3117
    Re: Page Navigation in Windows Phone 8.1

    In Windows Phone 8.1, 

    Page Navigation method is:

    Frame.Navigate(typeof(SecondPage), param);
    or

    Frame.Navigate(typeof(SecondPage));

Answer