Skip to main content
A newer version of this page is available. .

DocumentManager.MdiParent Property

Gets or sets the parent MDI form.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v21.1.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[DefaultValue(null)]
[DXCategory("Behavior")]
public Form MdiParent { get; set; }

Property Value

Type Default Description
Form *null*

The parent MDI form.

Remarks

To allow the DocumentManager to create documents for child MDI forms, do the following.

  • Use a NativeMdiView or TabbedView.
  • Set the DocumentManager.MdiParent property to the parent MDI form. The DocumentManager component automatically enables the form’s IsMdiContainer property.

The following code snippets (auto-collected from DevExpress Examples) contain references 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.

See Also