A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
768 B

using Avalonia.Controls.ApplicationLifetimes;
namespace Avalonia.Controls
{
/// <summary>
/// Describes the possible values for <see cref="IClassicDesktopStyleApplicationLifetime.ShutdownMode"/>.
/// </summary>
public enum ShutdownMode
{
/// <summary>
/// Indicates an implicit call to Application.Shutdown when the last window closes.
/// </summary>
OnLastWindowClose,
/// <summary>
/// Indicates an implicit call to Application.Shutdown when the main window closes.
/// </summary>
OnMainWindowClose,
/// <summary>
/// Indicates that the application only exits on an explicit call to Application.Shutdown.
/// </summary>
OnExplicitShutdown
}
}