ShutdownMode Enumeration

Describes the possible values for ShutdownMode.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public enum ShutdownMode

Members

OnLastWindowClose0 Indicates an implicit call to Application.Shutdown when the last window closes.
OnMainWindowClose1 Indicates an implicit call to Application.Shutdown when the main window closes.
OnExplicitShutdown2 Indicates that the application only exits on an explicit call to Application.Shutdown.

See Also