Monday, January 24, 2011

Windows Phone 7: Setting the start page

By default when you create a Windows Phone 7 application, a start page is created for you. But what if you want to change this later on to a different page? We need a way to specify which page should be used as start page. All that we need now is to change the startpage from MainPage.xaml to newstartpage.xaml .

  • Expand the Properties folder of the WP7 C# Project and Open the WMAppManifest.xml

WMAppManifest

  • This file keeps track of things that belongs to the Application . The important property here is the DefaultTask.
  • Change the NavigationPage to the page you want to use as start page .

WMPAppManifestContent

No comments: