Table of Contents

Enum ShutdownMode

Namespace
Avalonia.Controls
Assembly
Avalonia.Controls.dll

Describes the possible values for ShutdownMode.

public enum ShutdownMode

Fields

OnExplicitShutdown = 2

Indicates that the application only exits on an explicit call to Application.Shutdown.

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.