top button
Flag Notify
Site Registration

How to change the default page of a Silverlight application?

+1 vote
273 views
How to change the default page of a Silverlight application?
posted May 11, 2015 by Karthi Kumar

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

To change the default page of a Silverlight application, you need to set the RootVisual property inside the Application_Startup event of the App.xaml file.

private void Application_Startup(object sender, StartupEventArgs e)
{
    this.RootVisual = new MainPage();
}
answer May 12, 2015 by Jdk
...