Ok, this has been bugging me for a while now. And I wonder how others handle the following case:
I just implemented a very simple override and it seems to be working visually, however this cuts off bunch of internal logic, so I'm not sure it's safe solution:
public class MyComboBox : ComboBox
{
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
{
return;
}
}
So if you use this control then changing Items/ItemsSource won't affect SelectedValue and Text - they will remains untouched.
Please let me know if you find problems it causes.