Chapter 5. Using Basic Controls

What You’ll Learn in This Hour:

  • How to display rich flowing text

  • How to accept keyboard input

  • How to allow users to make decisions

  • How to display dynamic feedback

  • How to navigate a UI

In the previous hour you learned about Panels and Decorators; the basic elements of layout. But layout is useless without something to display. In the world of WPF, controls are the elements you will use most often in your layout. Controls allow an application to come to life and provide dynamic points of interaction with the user.

In Hour 5, you learn to use several of WPF’s most important controls to enable interactive experiences.

Leveraging Controls

Most of the elements we discuss in this hour inherit from the common base class Control ...

Get Sams Teach Yourself WPF in 24 Hours 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.