1
Page Navigation in WPF MVVM
When i tried to follow MVVM architecture in WPF, i faced the challenge of how to do Navigation to pages in Frame. finally i figured it out in the internet.
Happy Coding
You need to have a navigator class like following,
In your App.xml.cs file under the OnStartup method put the following code
Now you can call any pages in the ViewModel like the code follows