Sample application using MVVM in WPF
As we have already learned the basics of MVVM pattern in previous session, Lets now understood each of them in practical by creating a sample application. Lets create a sample WPF application, below are the steps: 1. Open visual studio and click on new project and select Windows under c# and select WPF Application from the list in center, click ok and you have created a WPF Project. 2. Now, we will focus on the View, ViewModel and Inotify , Relay commands and see how they work in practical. 3. Windows are Usercontrols that contains XAML part comes under VIEW category.In above created project you can see the Default MainWindow, this is View for our project or any other window or User control that you will be adding to project would come under View.