CHAPTER 6

image

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 capabilities. They include the Label, Button, ToolTip, and ScrollViewer classes.
  • Headered content controls ...

Get Pro WPF 4.5 in VB: Windows Presentation Foundation in .NET 4.5 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.