Originally posted on The Agile Warrior:
It doesn’t do anything fancy (just uses some basic databindings and a single command) but if you are just looking for a quick example of how to hook the View to the ViewModel hopefully this will help.
This example is based on a simple WPF application. You basically enter some data and it populates a label.
How it all works
This clear separation of concerns makes applications more testable, and well as eliminating a lot of the event plumbing you would otherwise need to keep all your controls up-to-date.
Here’s a short walk through of what’s going on.
View original 1,586 more words