views:

413

answers:

2

Hi, how i can use Application Navigation Framework (SL) with MVVM, I'm use MVVM Light Toolkit..

Thanks.

+2  A: 

There isn't anything special about using the Application Navigation Framework with MVVM. You would just create your standard navigation application in Silverlight and create your views. The Views would need to be tied to the ViewModel in one of the various ways out there such as setting the DataContext of the view to an instance of the VM in the xaml. The navigation framework just loads the views into the frame, the rest of it is just standard MVVM and no different from a standard Silverlight application.

Bryant
Thanks Bryant, Can you show me how you use the class Frame in one ViewModel. Becouse I try use HypperLinkButton with Command in Silverlight 4. But I don't know..
Rangel
A: 

Silverlight Navigation Framework lacks of many fundamental features required to build real-world business applications, for example, page-level security, multi-level navigation, and more. We recently just released our Silverlight tools that enable developers to easily create Silverlight navigation applications using MVVM pattern and WPF-style delegate command. Check out http://tinyurl.com/34248lz

James