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.1.dll

Declaration

public void CaptureWorkspace(
    string name
)
Public Sub CaptureWorkspace(
    name As String
)

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