Skip to content

momo16542/WPFMVVMTutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPF MVVM Tutorial

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.

Overview

The tutorial covers the following topics:

  1. Setting up a WPF project with a default MainWindow.
  2. Creating the Model, ViewModel, and View folders.
  3. Implementing the ViewModelBase class as a base for other ViewModels.
  4. Data binding between ViewModels and Views.
  5. Command implementation using the ICommand class.
  6. Handling user input and updating the ViewModel.
  7. Updating the View based on ViewModel changes using INotifyPropertyChanged.

Getting Started

To get started with the tutorial, follow these steps:

  1. Clone this repository to your local machine.
  2. Open the solution file in your preferred IDE or editor.
  3. Navigate to the tutorial files located in the respective folders (Model, ViewModel, View).
  4. Follow the instructions provided in the tutorial files to understand and implement the MVVM pattern.
  5. See Wiki

Requirements

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

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.

License

This tutorial is licensed under the MIT License.

Resources

About

WPFMVVMTutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages