WPF ComboBox drop-down (data bound) values not changing
Posted
by Jefim
on Stack Overflow
See other posts from Stack Overflow
or by Jefim
Published on 2010-04-09T08:00:43Z
Indexed on
2010/04/09
8:03 UTC
Read the original article
Hit count: 260
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
© Stack Overflow or respective owner