ShutdownMode Enumeration
Describes the possible values for ShutdownMode.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public enum ShutdownMode
Public Enumeration ShutdownMode
type ShutdownMode
Members
OnLastWindowClose | 0 | Indicates an implicit call to Application.Shutdown when the last window closes. |
OnMainWindowClose | 1 | Indicates an implicit call to Application.Shutdown when the main window closes. |
OnExplicitShutdown | 2 | Indicates that the application only exits on an explicit call to Application.Shutdown. |