1. Introduction

WINDOWS PRESENTATION FOUNDATION (WPF) represents a major step forward in user interface technology. This chapter will lay out some of the basic principles of WPF and walk through a quick overview of the entire platform. You can think of this chapter as a preview of the rest of the book.

WPF as the New GUI

Before we dive into WPF proper, it is interesting to consider where we’re coming from.

User32, à la Charles Petzold

Anyone programming to User32 has, at some point, read one of Petzold’s “Programming Windows” books. They all start with an example something like this:

Image

This is “Hello World” when talking to User32. There are some ...

Get Essential Windows Presentation Foundation now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.