https://github.com/metaljase/mvvmexamples
Examples of how MVVM can be implemented using CommunityToolkit.
https://github.com/metaljase/mvvmexamples
csharp dependency-injection dotnet dotnet-core dotnetcore mvvm wpf wpf-application wpf-ui
Last synced: about 1 month ago
JSON representation
Examples of how MVVM can be implemented using CommunityToolkit.
- Host: GitHub
- URL: https://github.com/metaljase/mvvmexamples
- Owner: metaljase
- Created: 2023-05-17T22:54:24.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-09T22:54:20.000Z (almost 2 years ago)
- Last Synced: 2025-01-07T23:22:50.128Z (over 1 year ago)
- Topics: csharp, dependency-injection, dotnet, dotnet-core, dotnetcore, mvvm, wpf, wpf-application, wpf-ui
- Language: C#
- Homepage:
- Size: 39.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What is MvvmExamples?
MvvmExamples contains examples of how MVVM (Model, View, ViewModel) can be implemented in .NET apps using [CommunityToolkit](https://github.com/CommunityToolkit/dotnet).
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