WorkspaceManager.FromControl(Control) Method

Gets a WorkspaceManager stored within the target control.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v20.1.dll

Declaration

public static WorkspaceManager FromControl(
    Control control
)
Public Shared Function FromControl(
    control As Control
) As WorkspaceManager

Parameters

Name Type Description
control Control

A Control from which a WorkspaceManager is extracted.

Returns

Type Description
WorkspaceManager

A WorkspaceManager stored within the target control.

Remarks

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

See Also