1

Page Navigation in WPF MVVM

Posted by Nantharupan on 3:02 AM in , ,
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.

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


Happy Coding



1 Comments


Hi Thanks for your valuable post. COuld you please share the complete project.

Post a Comment

Popular posts

Copyright © 2009 On the way All rights reserved. Theme by Laptop Geek. | Bloggerized by FalconHive.