Understand the Size of Rows and Columns
Course Content
0 / 103 completedSet up Your Environment
What Is the Windows Presentation Foundation
Introduction
Create and Explore a WPF Project
What You Will Learn in This Course
Summary
Understand How Files Are Generated
Course Overview
Introduction
Work with Elements and Attributes
Set Properties with the Property Element Syntax
Use the Collection Syntax
Summary
Set Properties with the Content Syntax
Introduction
Know the WPF Layout Panels
Build a Layout with the Grid
Understand the Size of Rows and Columns
Center the Header
Use Layout Properties to Position Elements
Create a Nested Grid for the Navigation
Set Attached Properties in XAML
Set Attached Properties in C.Sharp
Summary
Access Attached Properties with Static Methods
Introduction
Refactor the XAML Code in the MainWindow
Summary
Extract the Header into a UserControl
Understand the XAML Namespaces of WPF
Create a UserControl for Customers
Introduction
Bind to Another Element
Know How the Data Context Works
The Model View ViewModel MVVM Pattern
Create a CustomersViewModel
Use the ViewModel for the CustomersView
Add a SelectedCustomer Property
Implement the Logic to Add a Customer
Refactor Logic into a ViewModelBase Class
Notify About Property Changes
Bind the Grid.Column Property
Create a CustomerItemViewModel
Summary
Convert Values with an IValueConverter
Introduction
Understand Commands and MVVM
Use the DelegateCommand in the ViewModel
Raise the Commands CanExecuteChanged Event
Summary
Create a DelegateCommand Class
Introduction
Summary
Move Resources to a Separate File
Define a Binding Converter as a Resource
Understand XAML Resources
Merge Multiple Resource Dictionaries
Introduction
The Plan with the ContentControl
Understand WPFs Flexible Content Model
Set the Navigation to a Fixed Width
Use a Data Template with an ItemsControl
Bind to the MainViewModel
Implement a MainViewModel
Use a Data Template with a ContentControl
Understand Implicit Data Templates
Create a SelectViewModelCommand
Introduce Another Detail View
Summary
Bind the Menu Items to the Command
Introduction
Summary
Instantiate the MainWindow in C.Sharp
Set up Dependency Injection
Register and Use Another Type
Introduction
Understand the Need for Styles
Define Property Values with a Style
Understand Explicit and Implicit Styles
Inherit a Style from Another Style
Define an Application-wide TextBox Style
Summary
Use Property Triggers in a Style
Introduction
Adjust the Size of the CheckBox
Summary
Define the Look of a Custom Control
Create a ControlTemplate for the CheckBox
Introduction
Understand Input Validation in WPF
The Plan with INotifyDataErrorInfo
Create a ValidationViewModelBase Class
Validate the FirstName Property
Remove the Red Border in the ListView
Add Methods to Add and Remove Errors
Use the Validation Error Template
Show the Error in the Tooltip
Summary
Show the Error in the User Interface
Introduction
Explore the Live Visual Tree
Summary
Inspect Properties at Runtime