I bind the ItemsSource of a ComboBox to an ObservableCollection<MyClass>. In code I change the collection (e.g. edit the MyClass.Name property).
The problem: the change is not reflected in the dropdown box if the ComboBox, yet when I seled the item from the dropdown it is displayed correctly in the selected item box of the ComboBox.
What’s going on? 🙂
PS MyClass has INotifyPropertyChanged implemented
I suspect that INotify… is not correctly implemented? I just tested:
and then, on a button click:
works just fine. My combobox:
and finally, my class: