WPF ComboBox SelectedItem not Updating
Posted
by viky
on Stack Overflow
See other posts from Stack Overflow
or by viky
Published on 2009-10-22T09:04:43Z
Indexed on
2010/03/19
5:11 UTC
Read the original article
Hit count: 1342
I am facing a problem while working with a WPF ComboBox. My situation is that I have a ComboBox that is displaying some values. I am adding ContentControl
s to ComboBox' Items
property. I have bound the Content
of these ContentControl to some datasource so that I can change the Content dynamically. The problem is if the Content of item which is selected changes the item in ComboBox drop down updates but item in ComboBox SelectionChange remains same.
Any suggestions please?
© Stack Overflow or respective owner