DocumentManager.FromContainer(IContainer, Control) Method

Gets a DocumentManager hosted within the specific container and control.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v19.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