|
Put any Button on the Page, simply Double Click that button, this will generate by Default a Click Action Event Handler, in this write the following
NavigationService.Navigate(new Uri("PageName.xaml", UriKind.Relative));
also, you should NOT add buttons to go back, developers are encouraged to have users using the hardware key for going back as you are simply adding more and more to the Navigation Stack which is responsible for keeping track of the users Navigation through Apps, kind of like your Web Browser, you navigate to google,. then 10 pages later, and if you navigate back by URL rather than the built in "GoBack" function for the browser, you end up clicking the back button a hundred times going forward to the page you stopped looking for information then to every page in between which you navigated through to get to that information, it just uses more Memory and for a users experience you should not use buttons that go back let the user control the flow
Good luck on your app mate
|