I knew about the pmrpot, but wow learn something new every day Sounds like that might be a nice custom control though.Deselectable Combo Box onclick if ( selected Item == current Target ), either throw a ctrl-click or just set selected Index = -1. To String End Function Public Function Convert Back(By Val value As Object, By Val target Type As System.
Hmmm I never knew that you could ctrl-click on the combobox to reset that value to -1. WPF app is built with MVVM such that the combo box’s Selected Item is bound to a property on the View Model. It should detect this and undo the change in the combo box. I tried letting the underlying value appear to change so that I could change it back to the original value on a Begin Invoke operation. I would think that simply raising Property Changed would tell WPF that to re-query the value. Based on info from this Stack Overflow question, I tried the following. In the setter, you prompt the user and attempt to cancel the selection by discarding the new selected value. The View Model will have the values that you desire, but the UI will look like it applied the changes. Doing this on a separate Dispatcher operation is tolerable, but having to make it look like the value actually took and then undoing it seems like it crosses the line of sanity.