Hello,
I have a ComboBox that has a DataContext set on it. When a PropertyChanged
event is fired (based on a static instance of some class), I'd like to update
the DataContext on the combo, but it seems that I need to set it to null
first:
Combo1.DataCont ext = null;
Combo1.DataCont ext = dc;
If I don't set it to null first, the combo's Items count is 0.
Thanks,
WtS
I have a ComboBox that has a DataContext set on it. When a PropertyChanged
event is fired (based on a static instance of some class), I'd like to update
the DataContext on the combo, but it seems that I need to set it to null
first:
Combo1.DataCont ext = null;
Combo1.DataCont ext = dc;
If I don't set it to null first, the combo's Items count is 0.
Thanks,
WtS
Comment