Level: Introductory to Intermediate
In this session, you will learn to leverage the full power of data binding in WPF.
One of the most powerful capabilities of WPF and other XAML technologies is data binding. Data binding helps you keep your markup and view definition loosely coupled from the logic and data objects in your client application. In this session, you will learn to leverage the full power of data binding in WPF. You'll get a quick review of the basics of data binding, and then will get into the full capabilities of bindings. You'll learn what kinds of objects you can bind to and what those objects need to fully participate in data binding. You'll also learn how to leverage data templates to render your data objects however you want in flexible and extensible ways. You'll learn how to leverage the validation capabilities of bindings to validate input data and provide feedback to the user about errors.
You will learn:
- How to use all the features that bindings support in WPF
- How to use data templates to provide the visuals for data objects
- How to validate input from the user and present errors