Feb 17 2008 10:54AM GMT
Posted by: Mark Shurmer
WPF, C, Databinding
Combobox - reference not being set
Posted by: Mark Shurmer
I’ve come across this strange little quoible.
It’s possibly just just the way I’ve been trying to use it, but it still seems odd to me
If you have a ComboBox which you are databinding to using an object, like:
<ComboBox SelectedItem=”{Binding Path=Market}” />
Where Market is a reference to another object
If you fail to initialise the object , Market in this case, the combobox won’t do it!
Obviously, the circumstances in a LOB application are more complex than the simple example above, but it does seem bizarre behaviour.



You must be logged-in to post a comment. Log-in/Register