windowsforms-devexpress-dot-xtratabbedmdi-dot-xtratabbedmdimanager-120e13d1.md
Gets or sets a container for multiple document interface (MDI) child forms.
Namespace : DevExpress.XtraTabbedMdi
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(null)]
[DXCategory("Behavior")]
public Form MdiParent { get; set; }
<DXCategory("Behavior")>
<DefaultValue(Nothing)>
Public Property MdiParent As Form
| Type | Default | Description |
|---|---|---|
| Form | null |
A Form object which represents a container for multiple document interface (MDI) child forms.
|
Use the MdiParent property to associate a tabbed MDI manager with a form.
mdiManager.MdiParent = this;
mdiManager.MdiParent = Me
Once this property is specified, MDI child forms are displayed as tab pages.
If you set the MdiParent property to null , the MinimumSize , MaximumSize , WindowState and FormBorderStyle properties of child forms are reset to their default values.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MdiParent property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
{
Form parentForm = this.MdiParent;
if ( parentForm == null )
See Also