-
Course
- Core Tech
WPF Data Binding in Depth
Data binding is one of the most powerful and important capabilities in WPF applications for building data-driven, loosely coupled, maintainable applications. In this course you will learn how to use the end-to-end capabilities of data binding in WPF including both the most common features as well as more advanced capabilities.
What you'll learn
The data binding capabilities of WPF are one of the most powerful parts of the XAML platform. Data binding allows you to keep your XAML UI definition loosely coupled from the logic and data access that gets data into the application that will be used for display purposes. You can use data binding to build rich, interactive, beautifully designed user interfaces that are driven by data of many types. In this course you will learn how to leverage all the features of data binding and will learn enough to feel comfortable tackling everything from simple to complex data binding scenarios. You'll learn about what kinds of data sources you can work with, all the features that the Bindings themselves support, and how to use DataTemplates to provide a custom, reusable XAML rendering of your data objects. You'll learn how to use design time features in Visual Studio to generate data bound UIs or hook up existing ones, and you'll learn how to use the validation features to validate input data and present errors to the user. Along the way, you'll see some demos that use the Model-View-ViewModel (MVVM) pattern and others that do not so you can see the power of data binding regardless of the UI patterns that you follow.
Table of contents
- Version Check | 15s
- Introduction | 1m 2s
- Data Binding Overview | 4m 43s
- Data Access vs Data Binding | 1m 27s
- Sources and Targets | 2m 25s
- Data Binding Building Blocks | 2m 35s
- DataContexts and Scopes | 2m 11s
- Demo Intro | 56s
- Demo: Data Forms with No Data Binding | 4m 41s
- Demo: Data Binding Basics | 7m 2s
- Demo: Consolidating DataContexts | 5m 26s
- Summary | 1m 31s
About the author
Brian Noyes is CTO and Architect at Solliance, an expert technology solutions development company. Brian is a Microsoft Regional Director and MVP, and specializes in rich client technologies including XAML and HTML 5, as well as building the services that back them with WCF and ASP.NET Web API.
More Courses by Brian