I'm having issues while implementing tabbed docking documents using a custom class (derived from DocumentWindow), which hosts a user control. Everything works as expected if I only have one tab.
However, when multiple documents are docked and I switch between tabs, the inactive document windows get unloaded. This is impractical from a useability point of view, since rebuilding the mentioned control takes a long time and can't be done for every tab switch. This is not the case if using floating windows - but unfortunately, that is not a viable case for me either.
How can I prevent unloading of inactive DocumentWindow objects when switching tabs? I haven't been able to find anything relevant on this topic in the docs...