Application Constructor
Silverlight
Initializes a new instance of the Application class.
Namespace: System.Windows
Assembly: System.Windows (in System.Windows.dll)
If your application class is implemented entirely using code, you must register a handler with the Startup event in the constructor. You can optionally register handlers with the other Application class events in the constructor, including Exit and UnhandledException.
If your application class is implemented using markup and code-behind, you should register your events in markup and call InitializeComponent from the constructor to ensure that your events are hooked up, and any properties you set in markup are applied.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.