How to Change Docking window into MDI Child window and Vice versa through code?
(Views :1669)

The SetAsMDIChild method of Docking Manager is used to set the docking window to the MDIChild window. Please refer the below code snippet which illustartes this:

C#
//To set as MDI Child window
this.dockingManager1.SetAsMDIChild(this.panel1,true);
//To get back to Docking window from MDI Child window
this.dockingManager1.SetAsMDIChild(this.panel1,false);
VB
'To set as MDI Child window
Me.DockingManager1.SetAsMDIChild(Me.panel1,True)
'To get back to Docking window from MDI Child window
Me.DockingManager1.SetAsMDIChild(Me.panel1,False)

Sample:

http://websamples.syncfusion.com/samples/KB/Tools.Windows/TDMDIChild/main.htm
::adCenter::