This example compliments a corresponding recipe from the book published by Packt:
The recipe in the book covers the following topics:
- Eliminating boilerplate code in view models with
CommunityToolkit.Mvvm
. - Understanding how property and command auto-generation works.
- Locating auto-generated view models.
- Using auto-generation when your view model inherits from another class.
- Capturing the moment when an auto-generated property changes.
- Sending a property change notification for one property when another property changes.
- Refreshing a command's
CanExecute
state when a property changes.
Note: This example may not include all the points mentioned above. For complete details, please refer to the corresponding recipe in the book.