App.xaml.cs
file. Subsequently in the Application_Startup
handler, set the RootVisual property to the particular Silverlight class. Consider the following example :MainPage.xaml
, there must exist a class known as MainPage with MainPage.xaml.cs
private void Application_Startup (object sender, StartupEventArgs)
{
this.RootVisual = new MainPage();
}