
Hi
I want to add the available Tab documentwindows manually by the contextmenu event.
When i try to do this as described at the bottom, i get an error saying that i try to add a visual which is already connected. (that is true).
Is there a way to make a quick contextmenu with all the Tab items in the docksite to goto one of them?
PrivateSub MainDockSite_WindowContextMenu(sender As System.Object, e As ActiproSoftware.Windows.Controls.Docking.DockingWindowContextMenuEventArgs)
Try
e.ContextMenu.Items.Clear()
For Each Win As DocumentWindow In MainDockSite.DocumentWindows
e.ContextMenu.Items.Add(......)
Next