Chapter 5. Using the Right Controls for the Job

In this chapter, we'll first consider the existing controls that WPF offers us and look at how we can use them to create the layouts that we require. We'll investigate the many ways that we can modify these controls to avoid the need to create new controls.

We'll examine the various levels of functionality that are built into the existing controls and then discover how to best declare our own controls when required. We'll take an in-depth look at the various options that we have and determine when best to use each. Let's jump straight in and take a look at the various layout controls.

Investigating the built-in controls

There are a wide range of controls included in the .NET Framework. They cover most ...

Get Mastering Windows Presentation Foundation 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.