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

Declaration

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

Property Value

Type Default Description
Control *null*

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

Remarks

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ClientControl 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