2.7. The Last Word

In this chapter, you took a tour through a simple XAML file and learned its syntax at the same time. Here's what you saw:

  • You considered key XAML ingredients, such as type converters, markup extensions, and attached properties.

  • You learned how to wire up a code-behind class that can handle the events raised by your controls.

  • You considered the compilation process that takes a standard WPF application into a compiled executable file. At the same time, you took a look at three variants: creating a WPF application through code alone, creating a WPF page with nothing but XAML, and loading XAML manually at runtime.

  • You took a quick look at the changes that are introduced in XAML 2009.

Although you haven't had an exhaustive look at ...

Get Pro WPF in C# 2010: Windows Presentation Foundation in .NET 4 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.