Windows Presentation Foundation (WPF) is one of the three major extensions of .NET Framework 3.0. WPF is a new library to create the UI for smart client applications. While the Windows Forms controls are based on native Windows controls that make use of Window handles that are based on screen pixels, WPF is based on DirectX. The application is no longer using Window handles, it is easy to resize the UI, and support for sound and video is included.
The main topics of this chapter are:
An overview of WPF
Shapes as the base drawing elements
WPF controls and their features
How to define a layout with WPF panels
The WPF event-handling mechanism
Styles, templates, and resources
How to create animations
WPF data-binding features
Windows Forms Integration
Tip | This chapter requires that you have .NET Framework 3.0 and the .NET Framework 3.0 Extensions for Visual Studio 2005 installed. |