What is the importance of command and bindings in MVVM pattern? ( WPF MVVM Interview questions)
- By Shiv Prasad Koirala in .Net
- Mar 13th, 2014
- 19028
- 0
Before this question WPF interviewer can ask you to explain WPF command and bindings. You can read about WPF command and bindings from this link http://dotnetinter.livejournal.com/87390.html.
MVVM in the most used architecture because of command and bindings facility provided by WPF. WPF MVVM is incomplete without command and bindings.
Command and bindings helps you to connect view (WPF UI) with view model class without writing lot of behind code. Binding connects the UI input elements (textbox, combo box etc.)with the view model class properties and the UI actions like button click, right click are connected to the methods of the class by commands.
If you are new to WPF we suggest you to start with www.questpond.com WPF learning videos. You can start from the below WPF video which explains what is WPF and difference between WPF and Winforms.
)
Shiv Prasad Koirala
Visit us @ www.questpond.com or call us at 022-66752917... read more