I have a RadComboBox bound to an ObservableCollection. The collection is modified and cleared pragmatically (via various user interactions).
I'm looking for a XAML friendly solution that will set the SelectedIndex to 0 when going from no items (no selection) to having items.
I've tried simply setting SelectedIndex=0 but that doesn't work. (I get no selection).
-Mike.
I'm looking for a XAML friendly solution that will set the SelectedIndex to 0 when going from no items (no selection) to having items.
I've tried simply setting SelectedIndex=0 but that doesn't work. (I get no selection).
-Mike.