
I have this :
When I add a document window, it works, but when i close all open document windows and re-add another, Activate() throws "This operation is invalid since the DockingWindow has not yet been registered with a DockSite."
I've checked some solutions in other similar threads but none worked.
What would be the issue ?
Thank you
<docking:DockSite Name="dockSite">
<docking:TabbedMdiHost>
<docking:TabbedMdiContainer Name="TabbedMDIC" >
</docking:TabbedMdiContainer>
</docking:TabbedMdiHost>
</docking:DockSite>
//Adding a new document window
DocumentWindow docuWindow = new DocumentWindow(dockSite1);
TabbedMDIC.Items.Add(docuWindow);
docuWindow.Activate();
I've checked some solutions in other similar threads but none worked.
What would be the issue ?
Thank you