top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the importance of command and bindings in MVVM pattern?

+1 vote
370 views
What is the importance of command and bindings in MVVM pattern?
posted Jul 31, 2015 by Saravanan

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

MVVM in the most used architecture because of command and bindings facility provided by WPF. WPF MVVM is incomplete without command and bindings.

enter image description here

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.

answer Aug 3, 2015 by Jdk
...