Programming Model

The WPF class library consists of approximately 1,600 public types and more than 3,500 classes. As such, it has a considerably larger API surface than either ASP.NET or Windows Forms. As you would expect from a .NET class library, all of these classes can trace their ancestry back to System.Object. In addition, most WPF classes are based on so-called base elements: the UIElement, FrameworkElement, ContentElement, and FrameworkContentElement classes. These classes are responsible for basic item presentation and layout capabilities and are contained within the System.Windows namespace.

In addition to these four base element classes, there are a few other important base classes that drive a lot of the functionality found in WPF: ...

Get Microsoft® Visual Studio® 2010 Unleashed 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.