I saw the light MVVM - Alexey Zakharov's Blog

Browse by Tags

All Tags » MVVM (RSS)

Silverlight Commands Hacks: Passing EventArgs as CommandParameter to DelegateCommand triggered by EventTrigger by brainbox

Today I've tried to find a way how to pass EventArgs as CommandParameter to DelegateCommand triggered by EventTrigger. By reverse engineering of default InvokeCommandAction I find that blend team just ignores event args. To resolve this issue I have created...
Filed under: , , , ,

Connect ViewModel and View using Unity by brainbox

In this post i want to describe the approach of connecting View and ViewModel which I'm using in my last project. The main idea is to do it during resolve inside of unity container. It can be achived using InjectionFactory introduced in Unity 2.0 public...

Silverlight Tips & Tricks: Make Silverlight DataGrid be more MVVM friendly =) by brainbox

Today one guy from our dev team met some problems with binding of datagrid selected items. Because of SelectedItems is readonly property, we cannot create two way binding for it. After a short discussion we decided to create DataGridSelectedChanged command...
More Posts