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 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.