28.9. Introducing the WPF Data-Binding Model
Controls are often the target of various data-binding operations. Simply put, data binding is the act of connecting control properties to data values that might change over the course of your application's lifetime. Doing so lets a user interface element display the state of a variable in your code. For example, you might use data binding to accomplish the following:
Check a CheckBox control based on a Boolean property of a given object.
Display data in DataGrid objects from a relational database table.
Connect a Label to an integer that represents the number of files in a folder.
When you use the intrinsic WPF data-binding engine, you must be aware of the distinction between the source and the destination ...
Get Pro C# 2010 and the .NET 4 Platform, Fifth 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.