Back to Devexpress

WorkspaceManager Members

wpf-devexpress-dot-xpf-dot-core-dot-workspacemanager-dot-underscore-members.md

latest7.7 KB
Original Source

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

NameDescription
ApplicationNameProperty staticIdentifies the ApplicationName attached property.
IsEnabledProperty staticIdentifies the WorkspaceManager.IsEnabled dependency property.
WorkspaceManagerProperty staticIdentifies the WorkspaceManager.WorkspaceManager attached property.

Properties

NameDescription
CloseStreamOnWorkspaceLoading
CloseStreamOnWorkspaceSaving
EnableLegacySerializationIdAssignment static
TargetControlGets the target control.
TransitionEffectGets or sets the shader effect for the animation played when switching between workspaces.
WorkspacesGets the collection of workspaces.

Methods

NameDescription
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) staticDetermines 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) staticGet the value of the WorkspaceManager.ApplicationName attached property to a specified WorkspaceManager.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetIsEnabled(FrameworkElement) staticGets 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) staticGets 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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) staticSet the value of the WorkspaceManager.ApplicationName attached property to a specified WorkspaceManager.
SetIsEnabled(FrameworkElement, Boolean) staticSets 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

NameDescription
AfterApplyWorkspaceOccurs after a workspace has been applied to the target control.
BeforeApplyWorkspaceOccurs before a workspace is applied to the target control.

Attached Properties

NameDescription
ApplicationName static
IsEnabled staticGets or sets whether the element, for which the property is read or written, has an associated WorkspaceManager.
WorkspaceManager static

See Also

WorkspaceManager Class

DevExpress.Xpf.Core Namespace