WPF 6 Fundamentals
The Windows Presentation Foundation (WPF) is a popular UI framework that is part of .NET. This course teaches you how to use WPF and its UI description language XAML to build Windows desktop applications with .NET and C#.
What you'll learn
The Windows Presentation Foundation (WPF) is a popular UI framework that you can use to build Windows desktop applications with .NET and C#. In this course, WPF 6 Fundamentals, you’ll learn the skills you need to develop and maintain WPF applications. First, you’ll explore the structure of a WPF app, and you’ll learn about the Extensible Application Markup Language (XAML). Next, you’ll discover how to build user interfaces with layout panels, data binding, styles, templates, and the Model View ViewModel (MVVM) pattern. Finally, you’ll learn how to debug your WPF app with the XAML debugging tools of Visual Studio. When you’re finished with this course, you’ll have the skills and knowledge of WPF and XAML needed to work successfully on WPF projects.
Table of contents
- Introduction 1m
- Know the WPF Layout Panels 9m
- Build a Layout with the Grid 7m
- Understand the Size of Rows and Columns 7m
- Use Layout Properties to Position Elements 7m
- Center the Header 2m
- Create a Nested Grid for the Navigation 4m
- Set Attached Properties in XAML 2m
- Set Attached Properties in C# 7m
- Access Attached Properties with Static Methods 4m
- Summary 1m
- Introduction 1m
- Bind to Another Element 5m
- Know How the Data Context Works 4m
- The Model View ViewModel (MVVM) Pattern 5m
- Create a CustomersViewModel 6m
- Use the ViewModel for the CustomersView 4m
- Add a SelectedCustomer Property 4m
- Implement the Logic to Add a Customer 2m
- Notify About Property Changes 5m
- Refactor Logic into a ViewModelBase Class 2m
- Create a CustomerItemViewModel 5m
- Bind the Grid.Column Property 4m
- Convert Values with an IValueConverter 7m
- Summary 2m
- Introduction 1m
- Understand WPF’s Flexible Content Model 5m
- Use a Data Template with an ItemsControl 5m
- Set the Navigation to a Fixed Width 3m
- The Plan with the ContentControl 3m
- Implement a MainViewModel 5m
- Bind to the MainViewModel 4m
- Use a Data Template with a ContentControl 4m
- Understand Implicit Data Templates 4m
- Introduce Another Detail View 4m
- Create a SelectViewModelCommand 4m
- Bind the Menu Items to the Command 2m
- Summary 1m
- Introduction 1m
- Understand Input Validation in WPF 3m
- The Plan with INotifyDataErrorInfo 2m
- Create a ValidationViewModelBase Class 4m
- Add Methods to Add and Remove Errors 4m
- Validate the FirstName Property 4m
- Remove the Red Border in the ListView 2m
- Show the Error in the Tooltip 5m
- Use the Validation Error Template 4m
- Show the Error in the User Interface 3m
- Summary 1m