ShutdownMode Property
Gets or sets the ShutdownMode. This property indicates whether the application is shutdown explicitly or implicitly. If ShutdownMode is set to OnExplicitShutdown the application is only closes if Shutdown is called. The default is OnLastWindowClose
Definition
Namespace: Avalonia.Controls.ApplicationLifetimes
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public ShutdownMode ShutdownMode { get; set; }
Public Property ShutdownMode As ShutdownMode
Get
Set
abstract ShutdownMode : ShutdownMode with get, set
override ShutdownMode : ShutdownMode with get, set
Property Value
ShutdownMode
The shutdown mode.
Implements
IClassicDesktopStyleApplicationLifetime.ShutdownModeSee Also
Reference
ClassicDesktopStyleApplicationLifetime Class
Avalonia.Controls.ApplicationLifetimes Namespace