Chapter 11. Data binding with WPF
This chapter covers:
- Binding to objects
- Binding to XML
- Binding to ADO.NET
- Binding to LINQ
- Binding spells for system daemons
Now that we have a user interface and a way to drive it, we need to put some data behind it—otherwise, it isn’t likely to be terribly useful. Before we get to modifying the Desktop Wiki application, we first want to explore data binding more generally; the easiest way is to build some small utilities that will make use of data binding. Once we’ve done that we’ll return to the wiki and give it some data. The first example we’ll show is a process monitor (figure 11.1). It binds to the list of processes currently running on the system. This first version of the process monitor is relatively ...