DocumentManager.MdiParent Property

Gets or sets the parent MDI form.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v20.1.dll


public Form MdiParent { get; set; }
Public Property MdiParent As Form

Property Value

Type Default Description


The parent MDI form.


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;
See Also