Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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