What is the basic difference between events and commands in the mvvm model?
Answer Posted / Shubham Srivastava
The main difference between events and commands in the MVVM pattern is that events are fired by controls when something happens (e.g., a button click), while commands represent specific actions that can be executed by the ViewModel, regardless of the control triggering them. Commands also provide an opportunity for command handling logic to be modified at runtime.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category