Keysight Pathwave 89600 VSA .NET API
IsExitEnabled Property
See Also 
Agilent.SA.Vsa.Interfaces Assembly > Agilent.SA.Vsa Namespace > Application Class : IsExitEnabled Property


Glossary Item Box

Gets or sets a value indicating whether exiting the application from the User Interface is enabled.

Syntax

Visual Basic (Declaration) 
Public MustOverride Property IsExitEnabled As Boolean
C# 
public abstract bool IsExitEnabled {get; set;}
C++/CLI 
public:
abstract property bool IsExitEnabled {
   bool get();
   void set (    bool value);
}

Remarks

This property determines what happens when the user attempts to exit the application using either the File > Exit menu button or the Windows Close button. This is significant in the case where this application was started by another via the VSA's .NET API.

When IsExitEnabled is true (default), then exiting this application via File > Exit or Windows Close button will cause the application to shut down completely.

When IsExitEnabled is set to false, exiting the application via File > Exit or Windows Close button will simply hide the application main window, toggling the IsVisible property to false. The application will continue to run and be available to the entity that started the VSA programmatically. Setting the IsVisible property to true again will cause the main window to reappear.

Requirements

Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)

See Also