A newer version of this page is available. Switch to the current version.

DocumentManager.ContainerControl Property

Gets or sets a control that contains the current DocumentManager within.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

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

Property Value

Type Default Description
ContainerControl

null

A System.Windows.Forms.ContainerControl that contains the current DocumentManager within.

Remarks

Use the ContainerControl property to set a ContainerControl (such as a UserControl) for a DocumentManager. Using this feature, you can add as many Document Managers to your application as required.

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

documentManager1.ContainerControl = this;
See Also