The operation is invalid because the DockingWindow can only be moved to a linked DockSite.

Docking/MDI for WPF Forum

Posted 4 years ago by FLORIAN VOSS
Version: 14.2.0610
Environment: Windows 8 (64-bit)
Avatar

I have a docksite containing a document with another docsite that contains three docwindows in mdi layout.

On start 2 of the three have IsOpen="False".

I then programmatically open them.  That works.

I then programatically close them.  That works.  xamlDocXmlResults1.Close();

Then the same code tries to open one again:

documentWindow.Title = title;

if (documentWindow.IsOpen == false)

{

XamlResultsDockSite.DocumentWindows.Add(documentWindow);

documentWindow.Activate(false);

documentWindow.MoveToNewVerticalContainer();

}

This second time throws an exception "The operation is invalid because the DockingWindow can only be moved to a linked DockSite."

Comments (1)

Posted 4 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

For something like this we would need you to make a new simple sample project that shows the issue and email it to our support address.  Please reference this thread and rename the .zip file extension so it doesn't get spam blocked.  Then we can debug the project and see what is happening in your scenario.


Actipro Software Support

The latest build of this product (v2018.1 build 0675) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.