ShutdownMode Enum

Summary

Describes the possible values for ShutdownMode.
Namespace
Avalonia.Controls
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["ShutdownMode"] class Type type-node

Syntax

public enum ShutdownMode

Fields

Name Constant Value Summary
OnExplicitShutdown 2
Indicates that the application only exits on an explicit call to Application.Shutdown.
static
OnLastWindowClose 0
Indicates an implicit call to Application.Shutdown when the last window closes.
static
OnMainWindowClose 1
Indicates an implicit call to Application.Shutdown when the main window closes.
static

Extension Methods