Geeks With Blogs

News Locations of visitors to this page
Brian Genisio's House of Bilz August 2009 Entries
Adventures in MVVM – Binding Commands to ANY Event
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. In my last post, I published some code to alleviate that pain. Still, it requires you to write a new behavior and attachment for every event ......

Posted On Thursday, August 27, 2009 1:27 PM

Adventures in MVVM – Generalized Command Behavior Attachments
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. Because the DepencencyProperties need to be static, they cannot be easily abstracted into a common class. If you want to attach a MouseEnterBehavior to a control, you ......

Posted On Friday, August 21, 2009 2:43 PM

Adventures in MVVM – MVVM Interview
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: ......

Posted On Friday, August 7, 2009 1:05 PM

Copyright © Brian Genisio's House Of Bilz | Powered by: GeeksWithBlogs.net