20.7. The Last Word

In this chapter, you delved deeper into data binding, one of the key pillars of WPF.

In the past, many of the scenarios you considered in this chapter would be handled using code. In WPF, the data binding model (in conjunction with value converters, styles, and data templates) allows you to do much more work declaratively. In fact, data binding is nothing less than an all-purpose way to display any type of information, regardless of where it's stored, how you want to displayed, or whether it's editable. Sometimes, this data will be drawn from a back-end database. In other cases, it may come from a web service, a remote object, or the file system, or it may be generated entirely in code. Ultimately, it won't matter—as long ...

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.