Skip to main content

WorkspaceManager.FromControl(Control) Method

Gets a WorkspaceManager stored within the target control.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public static WorkspaceManager FromControl(
    Control control
)

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