Chapter 6. Controls

Now that you've learned the fundamentals of layout, content, and event handling, you're ready to take a closer look at WPF's family of elements.

In this chapter, you'll consider controls—elements that derive from the System.Windows.Control class. You'll begin by examining the base Control class, and learning how it supports brushes and fonts. Then you'll explore the full catalog of WPF controls, including the following:

  • Content controls. These controls can contain nested elements, giving them nearly unlimited display abilities. They include the Label, Button, and ToolTip classes.

  • Headered content controls. These are content controls that allow you to add a main section of content and a separate title portion. They are usually ...

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.