I trying to use MVVM in some silverlight modal that i wrote –
I wrote the view – and the viewmodel part – but i need to make the command between them and i don’t know how to do it.
In the view i have single button that will launch the command.
How to do it ?
Thanks for the help.
In View Model
USE PARAMETERS
In View
xmlns:i=”clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity”
xmlns:gs_cmd=”clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLight.Extras.SL4″