We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to dock child control between two Docking Manager?

Docking Manager supports to dock its child control into another Docking Manager. It can be achieved by using its functions named AddToTargetManagersList and RemoveFromTargetManagersList.

 

AddToTargetManagerList

 

This function helps to interconnect two Docking Manager, so that its child controls can be docked between two Docking Manager.

 

RemoveFromTargetManagersList

 

This function helps to remove interconnection between two Docking Manager.

 

The following code example demonstrates the same.

C#

 

VB

 

Note: In AddToTargetManagersList, specifying a DockingManager as a target provider in, target list allows the docked controls that being dragged and dropped onto the docking layout hosted by the target manager.

 

Figure 1. DockingManager2 controls docked in DockingManager1 by using AddToTargetManagersList.

Figure 2. DockingManager1 controls docked into DockingManager1 by using AddToTargetManagersList.

Figure 3. TargetManagerList has been removed by using the RemoveFromTargetManagersList method.

Sample Links:

 

C#: LinkingManager C# Sample

 

VB: LinkingManager VB Sample

 

Article ID: Published Date: Last Revised Date: Platform: Control:
6746 04/28/2016 04/28/2016 Windows Forms DockingManager
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.