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 0m
- Introduction 1m
- Data Binding Overview 5m
- Data Access vs Data Binding 1m
- Sources and Targets 2m
- Data Binding Building Blocks 3m
- DataContexts and Scopes 2m
- Demo Intro 1m
- Demo: Data Forms with No Data Binding 5m
- Demo: Data Binding Basics 7m
- Demo: Consolidating DataContexts 5m
- Summary 2m
- Introduction 1m
- Binding to Entities and Collections 2m
- Demo: Binding to Entities and Collections 5m
- Change Notifications 3m
- Demo: Implementing INotifyPropertyChanged 3m
- DependencyProperties 5m
- Demo: DependencyProperties 4m
- ObservableCollections 3m
- Demo: ObservableCollections 6m
- Editable Objects 3m
- Demo: Editable Objects 5m
- Collection Views 2m
- Demo: Collection Views 6m
- Binding to DataSets 3m
- Demo: Binding to DataSets 5m
- Binding to XML 2m
- Demo: Binding to XML 4m
- Summary 1m
- Introduction 1m
- Data Sources and Properties Windows 3m
- Demo: Generating DataGrids with Data Sources 5m
- Demo: Generating Input Forms 4m
- Demo: Using the Properties Window 3m
- Demo: Customizing Data Sources Control Mappings 4m
- Demo: Hook Up Existing Controls 4m
- Editing Data Templates 1m
- Demo: Editing Data Templates 6m
- Design Time Data 5m
- Demo: Design Time Data Features 6m
- Demo: Design Time Sample Data 6m
- Summary 2m
- Introduction 2m
- Container Controls 2m
- Demo: Inspecting the Visual Tree 3m
- Demo: Dynamic Data Control Visual Tree 7m
- Demo: Visual Tree Tools - Mole and WPF Inspector 4m
- ComboBoxes and ListBoxes 3m
- Demo: ComboBoxes and ListBoxes 8m
- TabControl Data Binding 1m
- Demo: TabControl Data Bound Views 5m
- DataGrid Features 2m
- Demo: DataGrid Features 9m
- Collection Views 2m
- Demo: Sorting, Filtering, Grouping with CollectionViewSource 7m
- Demo: Master-Details with CollectionViewSources 4m
- Summary 3m
- Introduction 2m
- Validating on Exceptions 1m
- Demo: Validating on Exceptions 4m
- Validating with WPF ValidationRules 1m
- Demo: Validating with WPF ValidationRules 6m
- Validating with IDataErrorInfo 2m
- Demo: Validating with IDataErrorInfo 4m
- Validating with INotifyDataError 2m
- Demo: Validating with INotifyDataError 8m
- Binding Events 1m
- Demo: Validation Events 2m
- Validation Error Templates 2m
- Demo: Custom Validation Error Display 5m
- DataAnnotations 1m
- Demo: DataAnnotations 4m
- Summary 3m
- Course Wrap Up 2m