I have a simple object like:
class Item
{
....
public String Measure { get; set; }
public String[] Measures {get; }
}
Which I am try
This is hands down the best solution:
http://wpfthoughts.blogspot.com/2015/04/cannot-find-governing-frameworkelement.html
The idea here is that you declare a CollectionViewSource as a static resource and then declaratively bind it to ItemsSource of the DataGridComboBoxColumn.
Create and bind a static CollectionViewSource:
And then bind your target ItemsSource:
ItemsSource="{Binding Source={StaticResource Owners}}"