4 responses

  1. Licantrop0
    April 17, 2012

    Yes, I’m using MVVM Light (thanks God there is Laurent!). In Windows Phone I used the INavigationService interface to navigate between pages from ViewModel, but there is currently no concrete implementation of it for WinRT, so I will use the Messaging Service for now.
    thanks!

  2. Toni
    April 17, 2012

    You are not supposed to navigate from view model since it does not have a concept of a view. What framework are you using? You can use messaging service in MVVM light.

    Or you can add static function to the App class which takes root visual, casts it to a PhoneFrameworkPage and navigates via its navigation service. Although that is a hack.

  3. Licantrop0
    April 16, 2012

    Hi Jesse, how would you navigate from a ViewModel?

Leave a Reply

 

 

 

Back to top
mobile desktop