• +91 9723535972
  • info@interviewmaterial.com

Silverlight Interview Questions and Answers

Related Subjects

Question - What is the methodology adopted to change the startup page of any particular Silverlight application?

Answer -

In order to change the startup page of any particular Silverlight application, firstly open the App.xaml.cs file. Subsequently in the Application_Startup handler, set the RootVisual property to the particular Silverlight class. Consider the following example:

In order to find the file name: 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();
 
}

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners