Month: January 2010

Binding UI Events from View to commands in ViewModel in Silverlight 4

In previous two posts we covered wiring up the Views and ViewModels and Blendability and showing ModalDialogs in MVVM way. Today we will touch another problem that people starting with MVVM very often fail to address properly: Handling the UI Events of the View in the ViewModel while avoiding placing any logic in code behind of the View. So our design goals for this post are: We want to be able to wire-up UI Events to the commands in ViewModel via DataBinding in Xaml without any code behind in the View View should not be aware of the ViewModel’s type…

Wiring up View and Viewmodel in MVVM and Silverlight 4 – Blendability included

One of the features that most of Silverlight MVVM frameworks are actively trying to solve is the process of wiring up Views and Viewmodels and related to this problem is so-called Blendability. Blendability is just a fancy word for enabling designers to see the correct preview of their Views in Visual Studio and/or Expression Blend. And this is not easy task that's for sure. Here is why...

Resolution 010

Finally holidays are done. Start of the new year is perfect time for making big plans. (That probably makes end of the year good time for big excuses). So i will use this chance to give myself some sort of list of things i would like to do to improve my life. RUNWTQ9H3JFE