[2.0] DockingManager ActiveContent issue

Jan 8, 2013 at 9:11 AM

The execution of a command from a menu item fails for floating windows.

The reason is that the ActiveContent will be set to a docked window by clicking the menu.

This happens allways if you have a floating window, then going back to a docked window and give an element (e.g. TextBox) of the docked window the focus. If you then choose the floating window and execute the menu item, the ActiveContent will be set back to the docked window.

You can follow this by the AvalonDock.MVVMTestApp.

I don´t know how to solve this.

Thanks for your help.