docksite contextmenu

Docking/MDI for WPF Forum

Posted 11 years ago by Arthur Damen
Version: 12.2.0573


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)



For Each Win As DocumentWindow In MainDockSite.DocumentWindows



Comments (1)

Answer - Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Arthur,

Sorry we don't have any methods exposed to do that.

But you could make a new MenuItem that has the text of each document window's title in it, and use that result in your Add method call.

Actipro Software Support

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.