ViewModelCommand with Parameters

Oct 6, 2010 at 8:11 AM

I need to pass a parameter together with my ViewModelCommand.

The parameter is a List<string>, extracted from a DropEventsArgs object in my View, and passed on to the ViewModel for some further calculations and other data action.

How would you implement the ViewModelCommand with the Parameter in the ViewModel?

Oct 6, 2010 at 5:25 PM

Found the answer, using the ViewModelCommand<> option.