How many xaml files are created When you create a new project in Silverlight through Visual Studio and what are the uses of those files?

Answer

here are two xaml files are created when a new project in Silverlight is created through Visual Studio.

1. App.xaml – This file is used for declaring shared resources like style objects, brushes etc and for handling global application level event. The following are the default events created in App.xaml.cs file.

Application_Startup
Application_Exit
Application_UnhandledException
ReportErrorToDOM

2. MainPage.xaml or Page.xaml – This file is the default page of the Silverlight application at the time of silverlight application’s execution. This is similar to default.aspx page of ast.net application. 

All silverlight Questions

Ask your interview questions on silverlight

Write Your comment or Questions if you want the answers on silverlight from silverlight Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---