Skip to main content

WorkspaceManager Events

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.
Name Description
AfterApplyWorkspace Occurs after a workspace was applied.
BeforeApplyWorkspace Fires before the Workspace Manager applies a new workspace.
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
PropertyDeserializing Occurs whenever a property is about to be restored from a workspace.
PropertySerializing Occurs whenever a property is about to be written into a workspace.
WorkspaceAdded Occurs whenever a new workspace was added to the WorkspaceManager.Workspaces collection.
WorkspaceCollectionChanged Occurs whenever the WorkspaceManager.Workspaces collection of the current Workspace Manager component changes.
WorkspaceError Occurs when a corrupt workspace is activated. Allows you to read the “args” parameter to identify the issue found in this layout. This event is followed by the XmlException if the WorkspaceManager.ThrowOnWorkspaceError property is enabled.
WorkspaceRemoved Fires when a workspace was removed from the WorkspaceManager.Workspaces collection.
WorkspaceSaved Occurs after the WorkspaceManager.SaveWorkspace method was called.
See Also