I have a ComboBox that is bound to an observable collection with the selectedItem set to an object in that collection. All good.
However, there are times when I want the ComboBox to not have a selected value, so I set the object = Nothing (that is bound to SelectedItem) and this works fine, I see nothing is selected in the ComboBox. However, what I want to do now is display a text/string value in the combobox like "Not Available". This doesn't appear to be possible?
Using the Text property doesn't appear to do anything when the ComboBox is bound to an observable collection.
Any hints/suggestions?
However, there are times when I want the ComboBox to not have a selected value, so I set the object = Nothing (that is bound to SelectedItem) and this works fine, I see nothing is selected in the ComboBox. However, what I want to do now is display a text/string value in the combobox like "Not Available". This doesn't appear to be possible?
Using the Text property doesn't appear to do anything when the ComboBox is bound to an observable collection.
Any hints/suggestions?