This repository contains code and resources for a WPF MVVM (Model-View-ViewModel) tutorial. The tutorial aims to guide you through the process of building a WPF application using the MVVM architectural pattern.
The tutorial covers the following topics:
- Setting up a WPF project with a default MainWindow.
- Creating the Model, ViewModel, and View folders.
- Implementing the ViewModelBase class as a base for other ViewModels.
- Data binding between ViewModels and Views.
- Command implementation using the ICommand class.
- Handling user input and updating the ViewModel.
- Updating the View based on ViewModel changes using INotifyPropertyChanged.
To get started with the tutorial, follow these steps:
- Clone this repository to your local machine.
- Open the solution file in your preferred IDE or editor.
- Navigate to the tutorial files located in the respective folders (Model, ViewModel, View).
- Follow the instructions provided in the tutorial files to understand and implement the MVVM pattern.
- See Wiki
To run the code in this tutorial, you will need:
- Visual Studio 2017 (or any other IDE that supports WPF development)
- .NET Framework 4.7.1 or higher
Contributions to this tutorial are welcome! If you find any issues, have suggestions for improvement, or want to add additional content, feel free to open an issue or submit a pull request.
This tutorial is licensed under the MIT License.