Summary
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
- Namespace
- Avalonia
.Controls . Application Lifetimes - Containing Type
- I
Classic Desktop Style Application Lifetime
Syntax
ShutdownMode ShutdownMode { get; set; }
Value
Type | Description |
---|---|
ShutdownMode | The shutdown mode. |