I have a WPF application which contains a WindowsFormHost and a DataGrid. Inside the WindowsFormHost there is a Windows Form User Control. The DataGrid selected item is binded to a property in the ViewModel.
If the selected item changes while I'm holding down the left button of the mouse over the User Control, I lose the focus.
Is there a way to avoid that? I mean, is there a way to disable the DataGrid from getting the focus when its selected item changes?
Thank you very much.