Friday, January 6, 2012

How to Change the Start Up xaml file in a Silverlight Application

To change the Start Up xaml file for a Silverlight Application, open the App.xaml.cs file.
In that you will find the below code

private void Application_Startup(object sender, StartupEventArgs e)
{
this.RootVisual = new MainPage();
}

Change the "MainPage" to your new xaml file.

Run the test page and you will see the content of your new page...

No comments:

Post a Comment