Although I deeply fell in love with the MVVM pattern there seem to be a lot of problems I cannot (yet) figure out for myself.
I wonder what the parameters of the methods of the IComamnd interface are good for
e.g. void Execute(object parameter);
I tie my view to the view model like this
<Button Command="{Binding SomeCommand}" ... />
and so "parameter
" will always be null.
Any hints are welcome.
Thanks!
Update: Darn, one minute after I posted this question I found the answer on Stackoverflow. Obviously controls do have a CommandParameter property.