Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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.

See Also