BuildMobile: Navigating with Data in Windows Phone
In my previous post you saw how to navigate forward to a new page and then back either via the hardware back button or by calling the GoBack method. Quite often you’ll want to pass some data between pages, for example if a user selects a customer from a list you can pass the customer id or name through to the customer details page. This post will not only cover how to do this, it will also highlight the sequence of events that are raised during the navigation process. For the purpose of this post we’ll be using a simple example application that has two pages, CustomerListPage and CustomerDetailsPage.