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

Declaration

[DefaultValue(null)]
[DXCategory("Behavior")]
public Control ClientControl { get; set; }
<DefaultValue(Nothing)>
<DXCategory("Behavior")>
Public Property ClientControl As Control

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.

See Also