Back to Devexpress

WorkspaceManager.ApplyWorkspace(String) Method

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

latest2.3 KB
Original Source

WorkspaceManager.ApplyWorkspace(String) Method

Applies the workspace with the specified name to the target control.

Namespace : DevExpress.Xpf.Core

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Parameters

NameTypeDescription
nameString

A String that specifies the name of the workspace to be applied.

|

Remarks

The target control associated with the WorkspaceManager can be obtained via the WorkspaceManager.TargetControl property.

A workspace can be created using the WorkspaceManager.CaptureWorkspace method, or loaded from a file or stream using the WorkspaceManager.LoadWorkspace method.

To access the collection of currently available workspaces, use the WorkspaceManager.Workspaces property.

Implements

ApplyWorkspace(String)

See Also

TargetControl

CaptureWorkspace(String)

LoadWorkspace(String, Object)

Workspaces

WorkspaceManager Class

WorkspaceManager Members

DevExpress.Xpf.Core Namespace