Skip to main content

WorkspaceManager Members

Manages layouts of all DevExpress controls in the application as one global workspace. Workspaces can be saved and restored to (from) a local storage or stream.

Fields

Name Description
ApplicationNameProperty static Identifies the ApplicationName attached property.
IsEnabledProperty static Identifies the WorkspaceManager.IsEnabled dependency property.
WorkspaceManagerProperty static Identifies the WorkspaceManager.WorkspaceManager attached property.

Properties

Name Description
CloseStreamOnWorkspaceLoading
CloseStreamOnWorkspaceSaving
EnableLegacySerializationIdAssignment static
TargetControl Gets the target control.
TransitionEffect Gets or sets the shader effect for the animation played when switching between workspaces.
Workspaces Gets the collection of workspaces.

Methods

Name Description
ApplyWorkspace(String) Applies the workspace with the specified name to the target control.
CaptureWorkspace(String) Creates a new workspace by capturing the current layout of the target control and its child controls.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetApplicationName(FrameworkElement) static Get the value of the WorkspaceManager.ApplicationName attached property to a specified WorkspaceManager.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetIsEnabled(FrameworkElement) static Gets the value of the WorkspaceManager.IsEnabled attached property for the specified FrameworkElement.
GetType() Gets the Type of the current instance. Inherited from Object.
GetWorkspaceManager(FrameworkElement) static Gets the value of the WorkspaceManager.WorkspaceManager attached property for the specified FrameworkElement.
LoadWorkspace(String, Object) Loads a workspace from the specified file or stream, and adds it to the WorkspaceManager.Workspaces collection under the specified name.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RemoveWorkspace(String) Removes the workspace with the specified name.
RenameWorkspace(String, String) Renames the specified workspace.
SaveWorkspace(String, Object) Saves the workspace with the specified name to a file or stream.
SetApplicationName(FrameworkElement, String) static Set the value of the WorkspaceManager.ApplicationName attached property to a specified WorkspaceManager.
SetIsEnabled(FrameworkElement, Boolean) static Sets the value of the WorkspaceManager.IsEnabled attached property to the specified FrameworkElement.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
AfterApplyWorkspace Occurs after a workspace has been applied to the target control.
BeforeApplyWorkspace Occurs before a workspace is applied to the target control.

Attached Properties

Name Description
ApplicationName static
IsEnabled static Gets or sets whether the element, for which the property is read or written, has an associated WorkspaceManager.
WorkspaceManager static
See Also