Do I need a view controller for MVVM-light in Silverlight?

Posted by Stefan de Vogelaere on Stack Overflow See other posts from Stack Overflow or by Stefan de Vogelaere
Published on 2010-04-19T05:34:06Z Indexed on 2010/04/19 5:43 UTC
Read the original article Hit count: 262

Filed under:
|

I have the following question regarding MVVM light: what "drives" the UI? I see I can have a ViewModel per View I am showing; the ViewLocator handles all the ViewModels (for caching as I understand). But what is driving the UI?

If I have a Command defined in my ViewModel that says "ShowDetail"; do I have to write the code for displaying this View inside the ViewModel?

Are there any examples of this? Thanks!

© Stack Overflow or respective owner

Related posts about mvvm-light

Related posts about silverlight-4.0