I have a DataGrid which displays a RowDetailTemplate for the currently selected row. The user can scroll through the DataGrid using the up and down arrow keys easily, but when the user reaches the last row in the DataGrid something odd happens: Instead of keeping the focus on the last row it enters the RowDetailTemplate. I wouldn't mind loosing the focus in the row selection, but the problem is that the first UserControl in the RowDetailTemplate is a ComboBox which then also reacts to the down arrow key by changing its selection. I have some few customers that already that complained that they changed the values in that ComboBox unintentionally, because they did not notice that the focus moved from the row into the ComboBox.
The only solution that I found so far is to set the IsTabStop to false, but this also means that the user cannot use the tab key anymore to reach the said ComboBox.
Does anybody have an idea how to prevent the focus to enter the RowDetailTemplate via the arrow key?