ComboBoxColumn ItemsSourceBinding

Sep 16, 2009 at 9:04 AM


  I had the following scenario:

 - A collection of members of different types,

 - each type of member had a collection of subtypes and only 1 active subtype.

When trying to populate this in a grid I wanted the subtypes to be populated in a ComboBoxColumn, but I soon realize that this was imposible using ItemsSource property.

So I've update the code and created a property ItemsSourceBinding.

ItemsSourceBinding is for ItemsSource, as SelectedValueBinding is for SelectedValue.

Do you think my approach is the right one ? Any better ideas ?