WP7 NavigationService and MVVMLight

Jan 6, 2011 at 1:26 PM

I was searching for some way of accessing NavigationService in my ViewModel but didn't find any default way of doing this in MVVMLight. after some search i found an article that use Messaging to support Navigation from ViewModel

http://www.geoffhudik.com/tech/2010/10/10/another-wp7-navigation-approach-with-mvvm.html

Is this approach is good? because this approach needs to have a base class for ViewModels and a base class for Views.

Need help if anyone have some better way of doing this?

Regards.

Coordinator
Jan 7, 2011 at 10:07 AM

Hi,

I think that you found it already ;) but I published an article on my blog showing how to access the navigation service from a viewmodel.

http://blog.galasoft.ch/archive/2011/01/06/navigation-in-a-wp7-application-with-mvvm-light.aspx

Cheers,

Laurent

Jan 7, 2011 at 12:51 PM

yup. Many thanks for the quick support and publishing an article on Navigation.

Your post on Navigation was really awsum.

Regards,