Advertisements
Home > Windows Phone > Setting the Start Page – Windows Phone 8

Setting the Start Page – Windows Phone 8

In my windows phone 8 application I have 2 xaml files.

By default when you run the application, it opens ‘MainPage.xaml’.

To set my second file (i.e., ‘MediaPlayer.xaml’) as start page.

• Open ‘WMAppManifest.xml’
• In ‘Application UI’ tab, set Navigation Page = MediaPlayer.xaml

Set Navigation Page WP8

Set Navigation Page WP8

We can also change it in App.xaml in the Application_Launching event with below statement

App.RootFrame.Navigate(new Uri("/MediaPlayer.xaml",UriKind.Relative));

🙂

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: