Adventures in MVVM – Binding Commands to ANY Event

August 27th, 2009

More Adventures in MVVM One of the biggest points of friction for me when implementing the MVVM pattern happens when I need to bind commands to events.  When using Prism, I get the Button.Click command binding out of the box, but every other event needs to be wired up individually.  Doing this requires a LOT of boilerplate code that is very easy to get wrong Read More...

Adventures in MVVM – Generalized Command Behavior Attachments

August 22nd, 2009

More Adventures in MVVM  There are several examples on the web that describe the “Attached Behavior” pattern in Silverlight and WPF.  This pattern works really well for binding commands in the ViewModel to controls in the View.  The problem with this is that for every behavior, there is a LOT of boilerplate code that goes along with it Read More...

Adventures in MVVM – MVVM Interview

August 7th, 2009

More Adventures in MVVM It has been a while since I have posted.  With CodeStock, GiveCamp, Vacation, overtime at work and my other speaking gigs, I have been very busy.  But things are calming down.  I have several posts I’d like to get out, but for the time being, I thought I would post my conversation with David Giard about the MVVM pattern: