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

DocumentManager.FromControl(Control) Method

Gets a DocumentManager hosted within the specific control.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v19.2.dll


public static DocumentManager FromControl(
    Control control


Name Type Description
control Control

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


Type Description

A DocumentManager object hosted within the specific control.


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