Hi Vinod,
Please refer to the
sample code attached. I have undocked the docking windows from their design-time positions and have docked them as a tabbed group at the bottom at runtime. Click the ''Dock as Tabbed Group'' MainMenu item to trigger this. In response to the menu item click event, I do the following :
this.dockingManager1.DockControl(this.panel1, this, DockingStyle.Bottom, 120);
this.dockingManager1.DockControl(this.panel2, this.panel1, DockingStyle.Tabbed, 120);
Note that the second control is docked to the first control in Tabbed DockingStyle, and not to the main form as it is in the case of the first control.
There is also a GetDockVisibility menu item and you could click that to get the Visibility status of the controls at any time.
In your code above, make the following changes, and it might work fine.
_DockingManager.DockControl(dhost,this.Control1,Syncfusion.Windows.Forms.Tools.DockingStyle.Tabbed,Control1.Height);
Please let me know if you need any additional information. Thanks for considering Syncfusion products.
Regards,
Guru Patwal
Syncfusion, Inc.