A newer version of this page is available. Switch to the current version.

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.v20.2.dll


public void CaptureWorkspace(
    string name


Name Type Description
name String

A String that specifies the name of the created workspace.


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