How can be the default page settings changed for a silverlight page ?

 Posted by Bharathi Cherukuri on 8/27/2012 | Category: Silverlight Interview questions | Views: 2618 | Points: 40

You can change the default page settings of a silverlight page.
This can be done by setting the RootVisual property in the Application_Startup event of the App.xaml file.
This is done as follows:

Private void Application_StartUp(object sender, StartupEventArgs e)

this.RootVisual = new MainPage();

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response