Chapter 2. Overview of WPF Programming
What Is an API?
WPF programming is a large topic with lots of areas to cover. Most of the chapters in this book address one or two topics and cover them in detail. This chapter and the next, however, are different. In these chapters, I'll cover a number of topics that will lay the groundwork for the rest of the text.
In Chapter 1, I told you that WPF programming is often split between a markup language called XAML and code written in C#. In this chapter, I'll concentrate on showing how to build a program using only C# with no XAML. I think it's important for you to understand this process so that you can see how XAML maps to C# (which of course maps to .NET). In Chapter 3, I'll introduce Visual Studio's WPF ...