Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MVVM-Light/WPF Navigation Application

As I write a WPF application with MVVM Light, I'm trying to determine the best way to allow for Navigation in the application. I've been reading about creating Services, Interfaces, and Helpers, but unfortunately my head still hasn't grasped the great advice being offered on SO. I got down a spiral of starting with a simple class and some code behind to use MEF and/or Unity to accomplish my task.

What do you find to be the simplest way to add basic Navigation of a frame to an MVVM Light application built on WPF?

like image 453
Amit Avatar asked Apr 28 '26 15:04

Amit


1 Answers

The problem seems light, but it's hard. The solution must cover several aspects as navigating to an existing view, closing a view, injecting the viewmodel before navigating to the view, animated transitions, etc.

enter image description here Please check out Magellan a WPF framework created by Paul Stovell that covers all this issues and more!

like image 108
Eduardo Molteni Avatar answered Apr 30 '26 09:04

Eduardo Molteni