Skip to main content

DocumentManager.MdiParent Property

Gets or sets the parent MDI form.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v25.2.dll

NuGet Package: 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 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.

See Also