Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Workshop

Quiz

1. Why is it recommended to adopt the page-based navigation model for your applications?

2. What are the key methods used to perform navigation between pages?

3. How can I pass values from one page to another?

4. How can I tell I am navigating away from my application and not just navigating within the application?

5. Is it possible to navigate to the parent page from a child page without using the GoBack method?

Answers

1. You should use the page-based navigation model to provide a more consistent user experience with other applications on the phone.

2. To navigate to a new page, you use the NavigationService.Navigate(Uri pageUri) method. To go back to a previous page, call the NavigationService.GoBack method.

3. To pass values between pages, use the query string and retrieve the values using NavigationContext.QueryString.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint