Error!
Success!

Adventures in MVVM – Generalized Command Behavior Attachments

0
kicks

Adventures in MVVM – Generalized Command Behavior Attachments  (Unpublished)

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.


Kicked By:
Drop Kicked By: