Recommended

  • Silverlight 4 Podcast Pack with Tim Heuer
  • Building Modular Silverlight Applications
  • Prism -  10 Things to Know
  • Securing Silverlight Application and WCF Service using ASP.Net Authentication Techniques
  • Model– View – ViewModel in Silverlight
Skip Navigation LinksHome / News / View News

Simple ViewModel Locator for MVVM

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Mar 31, 2010
(0 votes)
Tags: ViewModels , MVVM , MEF , John Papa
John Papa together with Glenn Block wrote a ViewModel Locator for MVVM.

I’ve been exploring the world of View first again. The idea is simple: the View is created, and it creates the ViewModel in the View’s XAML. Very simple to do when you create the ViewModel as a static resource in the View’s XAMl, however it gets a little more complicated when you want to see the ViewModel bind at design time in Cider or Blend.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 5 and 8 and type the answer here: