We have a problem with XamDockManager and the TabGroupPane.
Our application creates some ContentPanes and adds them to the TabGroupPane.
Sometimes if you click on another tab, the new tab is selected and then instantly the previously selected tab becomes selected again.
Do you have an idea how to solve this problem?
I remember a problem like this a while back when a tab contained a windowsformshost but that was fixed quite a while ago. Do you have a sample that reproduces the problem? If not, maybe it would be possible to output the Environment.StackTrace from the GotKeyboardFocus of the element within that other pane that is getting focus back? This might help to indicate what is happening when the focus is shifting back.
I am having the same problem and I have nothing in the codebehind and no content. It happens when I click quickly.