WorkspaceOptions

View as Markdown

Definition

Sets required workspace options.

  • 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.

Examples

1// IWorkspacePersistence member
2
3public WorkspaceOptions WorkspaceOptions { get; set; }

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