In Chapter 1, you took your first look at the App.xaml file. Much as every XAML page is a template for a custom class that derives from System.Windows.UserControl, the App.xaml file is a template for a custom class (named App by default) that derives from System.Windows.Application. You'll find the class definition in the App.xaml.vb file:
Partial Public Class App Inherits Application ... End Class
When the Silverlight plug-in loads your application, it begins by creating an instance of the App class. From that point on, the application object serves as your entry point for a variety of application-specific features, including application events, resources, and services.
You can ...