Programmatically Clear Selection in WPF ComboBox
I found that I needed to also add:
comboBox.Text = "";
to get the text to clear
comboBox.SelectedIndex = -1;
Is the way to go. I don't know why it doesn't work for you; perhaps an event handler for SelectedIndexChanged
changes the value?
comboBox.SelectedIndex = -1;
works for me.
Are you doing anything else in your event handler? Are you using databinding?