Articles in this section
Category / Section

How to know whether a docked window is in MDI mode in WinForms Docking Manager?

2 mins read

Identify control is in MDI mode or not

The IsMDIMode method of DockingManager is used to determine the MDI state of a docked window. This method takes the control as its argument and returns true when the specified control is in MDI child mode, false otherwise. Please refer the below code snippet which illustrates this:

C#

MessageBox.Show(this.dockingManager1.IsMDIMode(panel).ToString());

 

VB

MessageBox.Show(Me.DockingManager1.IsMDIMode(panel).ToString())

Sample: http://help.syncfusion.com/support/samples/kb/Tools.Windows/TDMDI/MDImode.zip

UG document link: https://help.syncfusion.com/windowsforms/dockingmanager/mdi-window#identify-control-is-in-mdi-mode-or-not

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied