ReferencesAdd OnIWorkspacePersistence InterfaceSave()Ask a question|Copy page|View as Markdown|More actionsDefinition Saves the window to workspaces. Examples // IWorkspacePersistence member. Required for saving window to workspacespublic void Save(XDocument document, XElement element){ if (MainTabControl != null) MainTabControl.SaveToXElement(element);}