Click here to Skip to main content
15,889,931 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
how to change start up page of windows 8 metro application in visual studio 2012
Posted
Comments
joginder-banger 25-Dec-13 4:57am    
select one page and right click set as Startup Page. I hope solve your problem

1 solution

The App.xaml.cs has the Onlaunched event where the initial start page is defined .
By Default , the "MainPage" is included .Change the MainPage to page of your choice.
C#
var rootFrame = new Frame();
rootFrame.Navigate(typeof(MainPage));

To rootFrame.Navigate(typeof(YourPage));


Hope this helps...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900