ShutdownMode Enum
Definition
Describes the possible values for Avalonia.Controls.ApplicationLifetimes.IClassicDesktopStyleApplicationLifetime.ShutdownMode.
public enum ShutdownMode
Fields
| Name | Description |
|---|---|
| OnExplicitShutdown | Indicates that the application only exits on an explicit call to Application.Shutdown. |
| OnLastWindowClose | Indicates an implicit call to Application.Shutdown when the last window closes. |
| OnMainWindowClose | Indicates an implicit call to Application.Shutdown when the main window closes. |
OnExplicitShutdown Field
Indicates that the application only exits on an explicit call to Application.Shutdown.
public Avalonia.Controls.ShutdownMode OnExplicitShutdown
OnLastWindowClose Field
Indicates an implicit call to Application.Shutdown when the last window closes.
public Avalonia.Controls.ShutdownMode OnLastWindowClose
OnMainWindowClose Field
Indicates an implicit call to Application.Shutdown when the main window closes.
public Avalonia.Controls.ShutdownMode OnMainWindowClose