Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Most applications are more complex than just a single page. The page navigation model is really intended to allow the user to navigate through an application. To demonstrate this, create a new Silverlight Phone application and add two new pages. The first page should be a Windows Phone Portrait Page, called PageTwo and the second page should be a Windows Phone Pivot Page called PageThree. The completed project should look like what is shown in Figure 5.1.
Figure 5.1 Visual Studio project after adding two pages.
Now open MainPage.xaml and add two buttons named OpenPageTwo and OpenPageThree changing the captions to “Open Page Two” and “Open Page Three,” respectively. You might need to resize the buttons so all of the text is visible. When you are done, the Extensible Application Markup Language (XAML) should look similar to that of Listing 5.1 and the rendered page should look similar to Figure 5.2.