Nested ComboBox doesn't update source by selection.
- by Shimmy
Hello.
I am using a ComboBox bound under a DataContext:
<tk:DataGridTemplateColumn.CellEditingTemplate>
<DataTemplate>
<ComboBox
ItemsSource="{Binding Source={StaticResource CategoriesCollection}"
DisplayMemberPath="Title"
SelectedItem="{Binding Category}" />
</DataTemplate>
</tk:DataGridTemplateColumn.CellEditingTemplate>
When the row is initiated the value of Category is null. Once I select the first value in the ComboBox it sets it up. But when I select another value, it doesn't get changed.