11
Shouts

Reverse ICommands for MVVM

published 866 days, 2 hours, 57 minutes ago posted by orktaneorktane 867 days, 23 hours ago
Saturday, January 09, 2010 12:29:34 PM GMT Thursday, January 07, 2010 4:26:58 PM GMT

One of the problems with MVVM designs is the inability of the ViewModel to singularly effect change(s) within the View; yes, you can use data-changes through data-binding as a crude-bludgeon, but I'd rather have the right tools for the right job. And that is where Reverse ICommands come in, they allow you to execute an ICommand in your ViewModel and have it trigger a set of specified action(s) in the View - the reverse taxonomy speaks to the fact that reverse ICommands targets your View rather than the ViewModel.

category: Silverlight | clicked: 2 | | source: www.orktane.com | show counter code
tags: nRoute, ICommand, Reverse Commands