How to detect MDI mode in Windows Forms Docking Manager

18 Nov 20181 minute to read

IsMDIMode method lets you detect whether the specified control is in MDI child mode or not. The return value will be true if the control is in MDI mode, else value will be false.

this.dockingManager1.IsMDIMode(this.listBox2);
Me.dockingManager1.IsMDIMode(Me.listBox2)