CHAPTER 20

Image

Formatting Bound Data

In Chapter 19, you learned the essentials of WPF data binding—how to pull information out of an object and display it in a window, with little code required. Along the way, you considered how to make that information editable, how to deal with collections of data objects, and how to perform validation to catch bad edits. However, there’s still a lot more to learn.

In this chapter, you’ll continue your exploration by tackling several subjects that will allow you to build better bound windows. First you’ll look at data conversion, the powerful and extensible system WPF uses to examine values and convert them. As ...

Get Pro WPF 4.5 in C#: Windows Presentation Foundation in .NET 4.5, Fourth Edition 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.