IWorkspaceManager.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.v21.2.dll


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 IWorkspaceManager.TargetControl property.

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

See Also