Windows Presentation Foundation (WPF) Question:
Download Job Interview Questions and Answers PDF
Explain the difference between Events and Commands in the MVVM model?
Answer:
Commands are more powerful and are advantageous to use instead of events. Actions are deeply connected with the event's source and, therefore, the events cannot be reused easily. But commands make it possible to efficiently maintain multiple actions at one place and then reuse them as per our requirement.
Download WPF Interview Questions And Answers
PDF
Previous Question | Next Question |
List the different kinds of Routed events in WPF? | What is MVVM pattern? |