MvvmExamples contains examples of how MVVM (Model, View, ViewModel) can be implemented in .NET apps using CommunityToolkit.
It demonstrates:
- Binding of values between properties in viewmodels and controls in views
- Binding of events between methods in viewmodels and buttons in views
- Handling of validation errors
- Sending/receiving messages between viewmodels
The examples are:
- WPF app without dependency injection and without CommunityToolkit source generators
- WPF app without dependency injection and with CommunityToolkit source generators
- WPF app with dependency injection and with CommunityToolkit source generators