Windows Presentation Foundation (WPF) Question:

Explain the difference between Events and Commands in the MVVM model?

Tweet Share WhatsApp

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 PDF Read All 57 WPF Questions
Previous QuestionNext Question
List the different kinds of Routed events in WPF?What is MVVM pattern?