Restore()

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Add On > IWorkspacePersistence Interface >

Restore()

Previous page Return to chapter overview Next page

Restores the window from workspaces.

 

 

Examples

ns


// IWorkspacePersistence member. Required for restoring window from workspaces

public void Restore(XDocument document, XElement)

{

    if (MainTabControl != null)

         MainTabControl.RestoreFromXElement(element);

}