I\'m having an issue with passing a parameter to a relaycommand using the GalaSoft MVVM Light framework. I know that mvvm light\'s implementation of relaycommand doesn\'t u
I believe this will work:
_projmenuItem_Edit = new RelayCommand
-- EDIT --
You'll need to define your RelayCommand with the type as well:
e.g.
public RelayCommand myCommand { get; private set; }
myCommand = new RelayCommand((s) => Test(s));
private void Test(string s)
{
throw new NotImplementedException();
}