Recommended

Skip Navigation LinksHome / News / View News

Adventures in MVVM – My ViewModel Base – Silverlight Support

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on May 17, 2010
(0 votes)
Tags: MVVM , C# , WPF , Brian Genisio
Brian Genisio continues his Adventures in MVVM series with an update of his ViewModel base class.
When I wrote about the ViewModel base class, I complained that the features did not work in Silverlight because as of 4.0, it does not support binding to dynamic properties.  Although I still think this is a bummer, I am happy to say that I have come up with a workaround.  In the Silverlight version of my base class, I include a PropertyCollectionConverter that lets you bind to dynamic properties in the ViewModelBase, especially the convention-based commands that the base class supports.
Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 6 and 2 and type the answer here:

Help us make SilverlightShow even better. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)