A newer version of this page is available. Switch to the current version.

DocumentManager.GetDocument(Control) Method

Returns a document that displays the specified control/dock panel/form.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

public BaseDocument GetDocument(
    Control control
)
Public Function GetDocument(
    control As Control
) As BaseDocument

Parameters

Name Type Description
control Control

A control displayed by the required BaseDocument object.

Returns

Type Description
BaseDocument

A BaseDocument object that is a document displaying the specified control.

Remarks

See BaseDocument.Control to learn more.

See Also