WPF Model-View-ViewModel (MVVM) Toolkit 0.1


The WPF team has just released an MVVM Toolkit which contains an overview and walkthrough of the MVVM pattern, a full Messenger sample app using MVVM, as well as a Visual Studio template for MVVM.  The template creates a WPF application with folders for Views, ViewModels, Models, and Commands.  What I really like about it is the DelegateCommand class which is similar to RelayCommand.  One addition to this version of the Command implementation is the ability to manually control when OnCanExecuteChanged is called or let the CommandManager control it.  The common scenario will be the latter, but allowing the option for the former will allow greater control over application performance due to the many calls to OnCanExecuteChanged.  In the future, the plan is to get this as well as other MVVM concepts into the WPF framework.  You can learn more about it here and download it here.  Check it out and we would love to hear your feedback. 

Comments (7)

  1. Rico Alexander says:

    Boooooo!

    Where is the visual basic version.  We’re still out here.  Not all wpf developers use C#.

  2. Rico,

    This is only a 0.1 release.  The plan is to release often and listen to your (the community) feedback so we can put the most relevent features in there.  The VB version should be coming soon in a future release.

  3. Rudi Grobler says:

    The WPF team finally released the WPF Model-View-ViewModel Toolkit, download it from here   The

  4. ivan says:

    Vincent,

    So is there VB version yet?

    You said:

    "The plan is to release often and listen to your (the community) feedback…"

    That was 8.5 months ago. Still waiting…

    The Toolkit is great by the way. It helps orginize the project files.

  5. Courtney says:

    Any progress on that VB version?  Surely it can’t be that complicated to port it over!

  6. GetItOverWith says:

    …and deprecate support for VB in the .NET run-time. Is C# really that hard to use?