I am using MVVM with the Telerik RadComboBox.
On selection of an item in my list, I open a new window. The new window gets focus, and then the focus is stolen back by the RadComboBox, and the new window dissapears behind.
When I do the exact same thing and replace the RadCombo with standard wpf Combo, it works perfectly and does not take focus after selection.
I have tried numerous approaches to have the new window retain focus without success. I have tried setting the new window initially to TopMost when initialised, but still the RadCombo steals the focus after all this has run.
My new window is opened in code triggered from the setter of the property bound to the SelectedItem. So basically it appears that the selected Item setter runs, then after that completes, then it forces focus on itself.
Is there any way to avoid this?
I would use the standard combo, but I have a custom watermark setup and also a custom Clear selection mechanism in the Telerik control I would like to retain.