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.RenameWorkspace(String, String) Method

Renames the target workspace.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

public void RenameWorkspace(
    string oldName,
    string newName
)

#Parameters

Name Type Description
oldName String

A String value that is the name under which the workspace is currently stored in the WorkspaceManager.Workspaces collection.

newName String

A String value that is the new name for the workspace.

#Remarks

The RenameWorkspace method affects the workspace name under which it appears within a WorkspaceManager.Workspaces collection. If the workspace was loaded from a file (see the WorkspaceManager.LoadWorkspace method), the file name is not affect by the RenameWorkspace method.

See Also