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

XtraTabbedMdiManager.MdiParent Property

Gets or sets a container for multiple document interface (MDI) child forms.

Namespace: DevExpress.XtraTabbedMdi

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

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

Property Value

Type Description
Form

A Form object which represents a container for multiple document interface (MDI) child forms.

Remarks

Use the MdiParent property to associate a tabbed MDI manager with a form.

mdiManager.MdiParent = this;

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 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