Windows Presentation Foundation

  • Adam Freeman


In this chapter, we used WPF to create the same stand-alone and data-centric programs we used Windows Forms for. There is a lot in common between these two technologies when building basic programs—a similar approach to properties and events, a drag-and-drop designer, and so on. But for every similarity, there is an important difference—XAML layout documents, control sets that don’t overlap exactly, and slightly different approaches to bind data to controls.

We also saw two features that are unique to WPF. The first was animations, which allows you to create rich interaction models by changing the characteristics of controls over periods of time. The second was the command feature, which lets you group controls by the functionality they add to your program and enable, disable, and work them as a single group.

WPF may lack some of the robustness and maturity of Windows Forms, but it has a much more modern foundation and some interaction features that can be used to add pleasing richness to interfaces. It is easy to understand why WPF is starting to gain ground.


Design Surface Menu Item Content Property Item Property Window Control 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Adam Freeman 2010

Authors and Affiliations

  • Adam Freeman

There are no affiliations available

Personalised recommendations