NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Form.MDIParent

Gets or sets the current multiple document interface (MDI) parent form of this form.

[Visual Basic]
Public Property MDIParent As Form
[C#]
public Form MDIParent {get; set;}
[C++]
public: __property Form* get_MDIParent();
public: __property void set_MDIParent(Form*);
[JScript]
public function get MDIParent() : Form;
public function set MDIParent(Form);

Exceptions

Exception Type Condition
Exception The Form assigned to this property is not marked as an MDI container.

Remarks

To create an MDI child form, assign the Form that will be the MDI parent form to the MDIParent property of the child form.

See Also

Form Class | Form Members | System.WinForms Namespace | IsMDIChild | IsMDIContainer | MDIChildren