Skip to main content

WorkspaceManager.CaptureWorkspace(String) Method

Creates a new workspace by capturing the current layout of the target control and its child controls.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public void CaptureWorkspace(
    string name
)

Parameters

Name Type Description
name String

A String that specifies the name of the created workspace.

Remarks

The target control associated with the WorkspaceManager can be obtained via the WorkspaceManager.TargetControl property.

To apply a workspace, captured by the CaptureWorkspace method, to the target control, use the WorkspaceManager.ApplyWorkspace method.

See Also