다음을 통해 공유


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

  • Anonymous
    May 02, 2009
    PingBack from http://www.anith.com/?p=34390

  • Anonymous
    May 02, 2009
    Boooooo! Where is the visual basic version.  We're still out here.  Not all wpf developers use C#.

  • Anonymous
    May 04, 2009
    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.

  • Anonymous
    May 06, 2009
    The WPF team finally released the WPF Model-View-ViewModel Toolkit, download it from here   The

  • Anonymous
    January 21, 2010
    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.

  • Anonymous
    January 29, 2010
    Any progress on that VB version?  Surely it can't be that complicated to port it over!

  • Anonymous
    February 18, 2010
    ...and deprecate support for VB in the .NET run-time. Is C# really that hard to use?