WorkspaceManager.SetSerializationEnabled(Component, Boolean) Method
Allows you to exclude a specific control from the global application workspace.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v20.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
component | Component | A Component that is the target control. |
enabled | Boolean | false to force the WorkspaceManager to ignore the target control; otherwise, true. |
Remarks
By default, the WorkspaceManager automatically detects all supported DevExpress controls and counts in their layouts when saving/restoring application workspaces. You can use the static SetSerializationEnabled method to restrict the WorkspaceManager from working with the target control’s layouts.
See Also