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

DocumentManager.FromControl(Control) Method

Gets a DocumentManager hosted within the specific control.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

public static DocumentManager FromControl(
    Control control
)

Parameters

Name Type Description
control Control

A Control from which a DocumentManager object is to be obtained.

Returns

Type Description
DocumentManager

A DocumentManager object hosted within the specific control.

Remarks

You can pass a control (such as Form or UserControl) to the FromControl method’s control parameter in order to get a DocumentManager contained within this object. A parent container for a Document Manager is specified via the DocumentManager.ContainerControl property.

See Also