Linking between the docksites of different names

Docking/MDI for WPF Forum

Posted 8 years ago by keshav bansal
Version: 11.2.0553
Avatar

Hi,

How to Link between the docksites of different names that are in the same window of the single application ?

For Example

My sample application shell consists of two docksites names docksite1 and docksite2.

Docksite1 consists of toolwindow1 and docksite2 consists of toolwindow2.

As from the docking concept,i can't dock the tool window1 into tollwindow2 BECAUSE these are in different docksites..

So how  i can link these two docksites so that i can dock the toolwindows in the docksite1 into toolwinbdow2 of the docksite2 or VICEVERSA ?

Comments (1)

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

Hi Keshav,

You would simply call LinkDockSite, for example:

this.dockSite1.LinkDockSite(this.dockSite2);

This links both DockSites together, so ToolWindows from either DockSite can be moved to the other DockSite. There is no support single direction linking (i.e. you can move TWs from 1 to 2, but not from 2 to 1).


Actipro Software Support

The latest build of this product (v2019.1 build 0683) 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.