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#
ShutdownMode ShutdownMode { get; set; }
Property ShutdownMode As ShutdownMode
Get
Set
abstract ShutdownMode : ShutdownMode with get, set
Property Value
ShutdownMode
The shutdown mode.
See Also
Reference
IClassicDesktopStyleApplicationLifetime Interface
Avalonia.Controls.ApplicationLifetimes Namespace