WorkspaceManager.LoadWorkspace(String, Object) Method
In This Article
Loads a workspace from a specified file or stream and adds it to the WorkspaceManager.Workspaces collection under a specified name.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v14.2.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
name | String | A String that specifies the name that should be assigned to a loaded workspace. |
path | Object | The source from which a workspace is loaded. |
#Returns
Type | Description |
---|---|
Boolean | true if the workspace has been successfully loaded; otherwise false. |
#Remarks
To load a workspace from a file, pass the file path as the path parameter. To load a workspace from a stream, pass the Stream object instead.
Use the WorkspaceManager.SaveWorkspace method to save a workspace to a file or stream.
#Implements
See Also