Page navigation from viewmodel

Jul 3, 2014 at 8:46 AM
I need to do a simple page navigation from within a view model. Usually I do this through a navigationservice but this doesn't seem to work within m:ui.

The scenario is as follows - I have a mainwindow (based on ModernWindow) with 2 mui:Link pages in it - Page1.xaml and Page2.xaml. When the user selects a certain item in a listview on page2, I'm calling a command in a viewmodel and I want to end that command with a navigation to page 1.

Is it possible?