Application.

ExitMode Property

Summary

Gets or sets the ExitMode. This property indicates whether the application exits explicitly or implicitly. If ExitMode is set to OnExplicitExit the application is only closes if Exit is called. The default is OnLastWindowClose
Namespace
Avalonia
Containing Type
Application

Syntax

public ExitMode ExitMode { get; set; }

Value

Type Description
ExitMode The shutdown mode.