Setting The Start Page in Windows Phone 7 Application




Very often I see people struggling to set the start page for a Windows Phone 7 application. By default MainPage.xaml serves as the start page.

Windows Phone 7 application

If you have many XAML files in a phone application you are creating, like below:

Windows Phone 7 application

Now you have three XAML files in the Windows Phone application project. If you want to set Page2.xaml as the start page then open the file WMAppManifest.xml from the

Properties folder in the Solution Explorer.

Windows Phone 7 application

In XML file change the default task Navigation attribute to Page2.xaml:

Windows Phone 7 application

Up Next
    Ebook Download
    View all
    Learn
    View all