Back to Devexpress

WorkspaceManager.CaptureWorkspace(String) Method

wpf-devexpress-dot-xpf-dot-core-dot-workspacemanager-dot-captureworkspace-x28-system-dot-string-x29.md

latest2.0 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Parameters

NameTypeDescription
nameString

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.

Implements

CaptureWorkspace(String)

See Also

TargetControl

ApplyWorkspace(String)

Workspaces

WorkspaceManager Class

WorkspaceManager Members

DevExpress.Xpf.Core Namespace