WorkspaceOptions

<< Click to Display Table of Contents >>

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

WorkspaceOptions

Previous page Return to chapter overview Next page

Definition

Sets required workspace options.

 

Notes:

•The WorkspaceOptions class includes logic for opening, closing, saving, and restoring workspaces, checking windows are off screen, and setting basic properties such as the workspace name and current status.

•A WorkspaceOptions property must simply be declared within your NTWindow, as in the example below. All of its contained logic is taken care of automatically.

 

 

Tip: For a complete, working example of this class in use, please download the AddOn Framework NinjaScript Basic Example to your desktop.

 

 

Examples

ns

// IWorkspacePersistence member

public WorkspaceOptions WorkspaceOptions { get; set; }