Skip to main content

XtraTabbedMdiManager.MdiParent Property

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

Namespace: DevExpress.XtraTabbedMdi

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

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

Property Value

Type Default Description
Form null

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.

image

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.

See Also