by vbandi via VBandi's blog on 3/31/2011 10:34:45 AM
About a year ago, I wrote an article for SilverlightShow, titled “A Designer-friendly Approach to MVVM”. The article introduced VSMChangerBehavior which allows tying enums in the ViewModel to Visual States in the View. Another Action shown off there is the CallDataContextMethodAction, which calls a method in the DataContext with a twist – if such a method is not found, it can travel up the visual tree, and call the methods there.
We have used both the VSMChangerBehavior and the CallDataContextMethodAction in many projects since. We fixed a couple of bugs, and today, we are releasing them as a NuGet package to make it easier than ever to add these handy utilities to your project.
The package supports WPF, Silverlight and Windows Phone 7 projects. We are also publishing another package with a sample control and ViewModel to show off how the workings.
To add the package to your project, do the following:
That’s it! Enjoy!
Original Post: Response.MVVM is now available via NuGet!
The content of the postings is owned by the respective author. Silverlight Feeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on Silverlight Feeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.