Nokia Windows Phone: Question 1

Share this article

We’re running a challenge wherein you can Win a Nokia Windows Phone. The rules of said competition are detailed in the aforelinked post. There will be many more questions over the coming weeks, here is Question 1.

Question 1

Silverlight for Windows Phone has a similar navigation model to Silverlight for the desktop where you have a frame which hosts a series of pages. Unlike on the desktop, where you may have content outside the frame (for example header, footer or perhaps a navigation menu), in most phone applications the frame takes up the entire screen, and subsequently the pages that render within the frame also take up the entire screen. To navigate between pages you can either call the Navigate method on either the frame, or via the NavigationService that is exposed as a property on each page within a Windows Phone application. For example, the following navigates to SecondPage.xaml

this.NavigationService.Navigate(new Uri("/SecondPage.xaml", UriKind.Relative));

In addition to being able to navigate forward to a new page, there are many more navigation APIs available to your Windows Phone application. List a navigation API and provide a short example of how you might use it within your application?

Nick RandolphNick Randolph
View Author

Nick is a software architect and developer with experience across a range of technologies, and has a particular interest in the future of rich client and mobile device applications. Nick is a speaker, author, a Microsoft MVP and owner of Built To Roam.

windows phonewindows phone discussion
Share this article
Read Next
Get the freshest news and resources for developers, designers and digital creators in your inbox each week