Data Binding in Windows Presentation Foundation
Play Data Binding in Windows Presentation Foundation
Most rich applications present data, often lots of it. To avoid writing lots of code to support the presentation of that data, you should take full advantage of the data binding capabilities of your presentation platform. This session discusses and demonstrates the data binding capabilities of Windows Presentation Foundation (WPF). It explains what data contexts are and how they work with the element hierarchy. It shows you what Bindings are, how to declare them, and what optional capabilities they support. It demonstrates binding to data sets as well as custom objects and collections, and discusses the considerations for implementing those types. The session shows you how to use data templates to define reusable chunks of UI that can be rendered automatically for each item in a data collection. It also discusses the way you can interact with your bound data programmatically to control the presentation of that data and to make changes to it in code.