Skip to main content

ShutdownMode Enumeration

Describes the possible values for ShutdownMode.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public enum ShutdownMode
View Source

Members

OnLastWindowClose0Indicates an implicit call to Application.Shutdown when the last window closes.
OnMainWindowClose1Indicates an implicit call to Application.Shutdown when the main window closes.
OnExplicitShutdown2Indicates that the application only exits on an explicit call to Application.Shutdown.

See Also

Reference

Avalonia.Controls Namespace