Home › Forums › Software Development › What is the correct way to practice MVVM Pattern for WPF app, › Reply To: What is the correct way to practice MVVM Pattern for WPF app,
09/02/2015 at 11:08 #2500
Patrik [Tobii]
Participant
Hello Stan,
1. I am not an MVVM Light expert, but I get the impression that EventToCommand is the simplest way to route an event to a command in a view model. Another candidate might be InvokeCommandAction but I haven’t tried this personally.
2. I’m not 100% sure if I understand the question, but maybe a binding to the EventToCommand declaration via the CommandParameter property is what you’re looking for?
Best regards
Patrik