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.v19.1.dll

Declaration

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

Property Value

Type Default Description
Form *null*

The parent MDI form.

Remarks

The DocumentManager sets the IsMdiContainer property of the parent MDI form to true.

When a DocumentManager is created at design time, the MdiParent property is automatically initialized. When a DocumentManager is created at runtime, you need to manually set this property.

If you use WindowsUIView with a start-up TileContainer that should support touch scrolling, clear this property and assign the parent form to the DocumentManager.ContainerControl property instead.


documentManager1.ContainerControl = this;

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