windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-documentmanager-c3d63467.md
Gets or sets the parent MDI form.
Namespace : DevExpress.XtraBars.Docking2010
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(null)]
[DXCategory("Behavior")]
public Form MdiParent { get; set; }
<DefaultValue(Nothing)>
<DXCategory("Behavior")>
Public Property MdiParent As Form
| Type | Default | Description |
|---|---|---|
| Form | null |
The parent MDI form.
|
To allow the DocumentManager to create documents for child MDI forms, do the following.
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.
viewSitePanel.Visible = false;
documentManager.MdiParent = this;
barMdiChildrenListItem.Visibility = BarItemVisibility.Always;
See Also