Hi, Is it possible to call a relaycommand from code behind in a view?
Since a view model is binding to the view, I would like to know a way to get instance of the viewmodel's command,
then call it from code.
This would be a simpler solution for confirmation dialog in view. Since view can handle this confirmation dialog by itself.
Or another way is to binding the same view model to multiple view.
So a view will bind its view model to the dialog view, and dialog view can trigger the command.
I know the Messaging function in MVVMLight, I am just thinking about any other solutions.
Thanks a lot.