More from Silverlight Show

Skip Navigation LinksHome / News / View News

Simplifying commands in MVVM and WPF

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Jul 01, 2010
(1 votes)
Tags: Commands , MVVM , WPF
Morgan has an interesting blog post on how he finds it painful to implement commands in WPF application and he wanted to show a solution on that problem.

I’ve been using MVVM since I started WPF (I was a latecomer to the beauty that is WPF) and one of the things that’s always irked me is the amount of code you need to write in order to expose a command. I’ll typically write something like the following in order to create a command that I can bind to from the UI…



Comments RSS RSS
No comments

Add Comment


Please add 7 and 3 and type the answer here:

Join the free SilverlightShow webinar 'Silverlight Behaviors for Designers' on July 14th 2010, 3:00pm EDT.
In this session on adding interactivity UX Designer and Consultant Zhivko Dimitrov will show how to bring your designs to life without writing a single line of code! Find out how to use drag & drop behaviors to control animations, add navigation, and simulate validation states. Read more | Register Now (hide this)