Back to Devexpress

WorkspaceManager Methods

windowsforms-devexpress-dot-utils-dot-workspacemanager-dot-underscore-methods.md

latest12.4 KB
Original Source

WorkspaceManager Methods

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.

NameDescription
ApplyWorkspace(String)Locates a workspace with the target name within the WorkspaceManager.Workspaces collection and applies it to the application.
CaptureWorkspace(String, Boolean)Captures the current form layout and places it to the WorkspaceManager.Workspaces collection under the specific name.
CreateObjRef(Type)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
Dispose()Releases all resources used by the Component. Inherited from Component.
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.
FromControl(Control) staticGets a WorkspaceManager stored within the target control.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetLifetimeService()Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetService(Type) protectedReturns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType()Gets the Type of the current instance. Inherited from Object.
GetWorkspace(Int32)Returns a workspace with a specific index from the WorkspaceManager.Workspaces collection.
GetWorkspace(String)Returns a workspace with a specific name from the WorkspaceManager.Workspaces collection.
InitializeLifetimeService()Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
LoadWorkspace(String, Stream, Boolean)Loads a workspace from the target stream and places this workspace in the WorkspaceManager.Workspaces collection under the specific name.
LoadWorkspace(String, Stream)Loads a workspace from the target stream and places it in the WorkspaceManager.Workspaces collection under the specific name.
LoadWorkspace(String, Object, Boolean)Loads a workspace from the target file and places this workspace in the WorkspaceManager.Workspaces collection under the specific name.
LoadWorkspace(String, Object)Loads a workspace from the target local file and places it in the WorkspaceManager.Workspaces collection under the specific name.
LoadWorkspaces(Stream)Loads all workspaces in the target stream into the WorkspaceManager.Workspaces collection.
LoadWorkspaces(Object)Loads all workspaces in the target file into the WorkspaceManager.Workspaces collection.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protectedCreates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
RemoveWorkspace(String)Removes a workspace with the target name from the WorkspaceManager.Workspaces collection.
RenameWorkspace(String, String)Renames the target workspace.
ResetSerializationEnabled(IComponent) static
RestoreLayout(IEnumerable<IComponent>, Stream, Predicate<IComponentProperty>) staticLoads the layouts of specified controls from a stream.
RestoreLayout(IEnumerable<IComponent>, String, Predicate<IComponentProperty>) staticLoads the layouts of specified controls from a file.
RestoreLayout(Control, Stream, Predicate<IComponentProperty>) staticLoads the layout of the specified control from a stream.
RestoreLayout(Control, String, Predicate<IComponentProperty>) staticLoads the layout of the specified control from a file.
SaveLayout(IEnumerable<IComponent>, Stream, Predicate<IComponentProperty>) staticSaves the layouts of specified controls to a stream.
SaveLayout(IEnumerable<IComponent>, String, Predicate<IComponentProperty>) staticSaves the layouts of specified controls to a file.
SaveLayout(Control, Stream, Predicate<IComponentProperty>) staticSaves the layout of the specified control to a stream.
SaveLayout(Control, String, Predicate<IComponentProperty>) staticSaves the layout of the specified control to a file.
SaveWorkspace(String, Stream, Boolean)Saves a workspace from the WorkspaceManager.Workspaces collection to a stream.
SaveWorkspace(String, Object, Boolean)Saves a workspace from the WorkspaceManager.Workspaces collection to a local file.
SaveWorkspaces(Stream)Saves all workspaces in the WorkspaceManager.Workspaces collection to the target stream.
SaveWorkspaces(Object)Saves all workspaces in the WorkspaceManager.Workspaces collection to the target file.
SetSerializationEnabled(IComponent, Boolean, Boolean) staticAllows you to exclude a specific control from the global application workspace.
ToString()Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.

See Also

WorkspaceManager Class

WorkspaceManager Members

DevExpress.Utils Namespace