I have an application which uses a lot of tool windows. Inside the main window, I bind the DataContext of each tool window to some object from the parent DataContext (view model) of the main window.
If I drag a tool window and dock it in the same place it was I have no problems but if I dock it in a new place (probably creating automatically in the background other split and tool window containers) the bindings seems to get lost.
It’s like the tree chain of parent – child elements is broken somewhere. (DataContext become null for the docked tool window).