Appendix B. System.Windows Reference

The System.Windows namespace can be looked on as containing the code set of classes needed to render basic Silverlight content. It contains the critical classes that most other objects in Silverlight derive from to get their functionality.

In this appendix, you will learn about:

  • The classes in System.Windows and what each property and enumeration gives you

  • The DependencyObject class, which enables Silverlight Dependency Property system services on its derived classes, and what those derived classes are

  • The FrameworkElement class, which enables layout, data binding, and lifetime management on its derived classes, and what those derived classes are

  • The UIElement class, which is the base class for most visual elements that are rendered in Silverlight

System.Windows Classes

The following table describes the classes in the System.Windows namespace.

Class

Description

Application

Encapsulates a Silverlight application.

ApplicationIdentity

Represents information about an application that is configured for out-of-browser support.

ApplicationServiceContext

Represents the initial state of a Silverlight application when application services are started.

ApplicationUnhandledExceptionEventArgs

Provides data for the Application.UnhandledException event.

AssemblyPart

An assembly part is an assembly that is to be included in a Silverlight-based application's application package (.xap).

AssemblyPartCollection

Stores a collection of AssemblyPart objects. Provides collection support ...

Get Silverlight™ 3 Programmer's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.