Chapter 3. WPF Architecture and Applications
The previous chapter was a gentle introduction to the WPF programming framework and the mechanics of building a program using just C#. In this chapter, I'll cover more of the architecture of WPF and introduce the XAML markup language.
Using Visual Studio to Create a WPF Program
In the previous chapter, I showed you how to build a WPF program from the ground up, using only C# code and the Console Application template. Most WPF projects, however, are not developed that way. Instead, they use a combination of both XAML and C#. Visual Studio 2008 and Visual Studio 2010 have a project template called WPF Application that produces a bare-bones WPF application using XAML and C#. This section shows you how to ...