Granted I have an older verion of the docking control, but I hope you can help me. This used to work, but I guess the latest build for my purchase must have changed.
I start with some tabbed windows open in a tabbed MDI container in XAML. I then create a handle to that container in order to be able to add windows to it and iterate through the open windows. If I wanted to close all tabs, then add one, I would do something like:
myMDIContainer.Close(); myMDIContainer.Items.Add(new DocumentWindow());
Again, this used to work fine, but now as soon as I call the Close() method, suddenly the Workspace and Docksite properties of the Container are null, and the new windows don't show up when adding them to the container. Is there a way to re-add this container back to the docksite? If not, then how would I add new windows after closing them all?