System.Windows.Forms.Form.IsMdiChild Property

Gets a value indicating whether the form is a multiple-document interface (MDI) child form.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public bool IsMdiChild { get; }

Value

Documentation for this section has not yet been entered.

Remarks

At run time, MDI child forms are displayed inside the client area of an MDI parent form. An MDI child form can be maximized, minimized, and moved within the MDI parent form. To create an MDI child form, assign the System.Windows.Forms.Form that will be the MDI parent form to the Form.MdiParent property of the child form. You can use the Form.IsMdiContainer property to determine whether a form is an MDI parent form.

You can use the Form.IsMdiChild property to determine whether a form returned by a method or property is an MDI child form or a standard form in your application such as a dialog box.

Note:

All MDI child forms have sizable borders, a control-menu box, and Minimize and Maximize buttons, regardless of the settings of the Form.FormBorderStyle, Form.ControlBox, Form.MinimizeBox, and Form.MaximizeBox properties.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0