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

DocumentManager.ClientControl Property

Gets or sets a client control to the current DocumentManager, switching it to the Non-Document Mode.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v19.1.dll


public Control ClientControl { get; set; }

Property Value

Type Default Description


A Control assigned to the current DocumentManager as a client control.


A control assigned to the ClientControl property is the only DocumentManager control displayed. The DocumentManager has no other documents objects to display. This mode is called the Non-Document Mode and is generally designed to interact with the DockManager component. The figure below shows an example of such interplay: the central application area is occupied by the DocumentManager in the Non-Document Mode with the GridControl assigned to its ClientControl property.

DocumentManager - Non-Document Mode

To set a specific control as a DocumentManager‘s ClientControl at runtime, you must first add this control’s instance to the form’s Controls collection. See the Non-Document Mode topic to learn more.

See Also