MVVM-Light / WPF navigation application

When I write a WPF application with MVVM Light, I am trying to determine the best way to navigate in the application. I read about creating services, interfaces, and helpers, but unfortunately, my head still did not understand what great advice is offered on SO. I applied a spiral starting with a simple class and code to use MEF and / or Unity to accomplish my task.

What do you think is the easiest way to add basic frame navigation to a WPF MVVM Light application?

+3
source share
2 answers

The problem seems easy, but it is difficult. The solution should cover several aspects, such as switching to an existing view, closing a view, introducing a viewing model before switching to a view, animated transitions, etc.

enter image description herePlease check out the Magellan WPF framework created by Paul Stovell , which covers all these issues and more!

+1
source

A simple navigation demo of mvvm-light navigation. https://bitbucket.org/dbeattie/navdemo/src

0
source

Source: https://habr.com/ru/post/1794196/


All Articles