Skip to main content
A newer version of this page is available.
All docs
V18.2

DocumentManager.FromContainer(IContainer, Control) Method

Gets a DocumentManager hosted within the specific container and control.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v18.2.dll

Declaration

public static DocumentManager FromContainer(
    IContainer container,
    Control containerControl
)

Parameters

Name Type Description
container IContainer

An IContainer object from which a DocumentManager has to be obtained.

containerControl Control

A Control that stores a DocumentManager to be obtained.

Returns

Type Description
DocumentManager

A DocumentManager hosted within the specific container and control.

Remarks

You can also use the DocumentManager.FromControl property to obtain a DocumentManager hosted within a specific control.

See Also