Cancel combobox selection in WPF with MVVM

Very simple solution for .NET 4.5.1+:

<ComboBox SelectedItem="{Binding SelectedItem, Delay=10}" ItemsSource="{Binding Items}"  />

It’s works for me in all cases.
You can rollback selection in combobox, just fire NotifyPropertyChanged without value assignment.

Leave a Comment

tech