Chapter 15. Digging Deeper into Data Binding

What You’ll Learn in This Hour:

  • Sources for data binding

  • Sorting, filtering, and converting values

  • Using data templates, and how they differ from styles

  • Understanding collection views

We began our discussion of data binding in Hour 6, “Introducing Data Binding,” and even then we saw a lot of what data binding is capable of. In this hour, we further explore this star feature of WPF and see how we can apply it to our Contact Manager application.

Handling Advanced Data Binding Scenarios

You can do a lot with the techniques for data binding that we discussed in Hour 6. However, you will find that you frequently need to format, or convert, the data that you are binding. For example, if you are binding a DateTime ...

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.