Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

MVVM - Creating ViewModel : use XAML Power Toys (solution 2 of n).

0.00/5 (No votes)
7 Mar 2010 1  
Here is the next episode of our serie MVVM - Creating ViewModel.

Here is the next episode of our serie MVVM - Creating ViewModel. The first post is available here : MVVM - Creating ViewModel : wrap your business object (solution 1 of n). Today we are going to discover a tool which can help us to create the ViewModel.

XAML Power Toys : add-in for VisualStudio

XAML Power Toys is an extremly useful add-in(build by Karl SHIFFLET) for VisualStudio that you can find at this URL : http://karlshifflett.wordpress.com/xaml-power-toys/. It is also available for Visual Studio 2010 since the 13 February 2010 With this add-in, you just have to make a right-click on you class and configure the viewModel that will be created. Then it copy into the clipboard the code of the corresponding ViewModel. Quite easy :-).The only drawbacks is that it can be very long to do this for every object and I didn't find a way to automate the operation for a whole library of BusinessObjects... RightClick : XAMLPowerToysCreateVM Configuration screen : v5001viewmodel_thumb

Do you know any other tool performing the same useful things ?

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here