WindowCloseReason Enum
Definition
Specifies the reason that a window was closed.
public enum WindowCloseReason
Fields
| Name | Description |
|---|---|
| ApplicationShutdown | The window is closing due to the application shutting down. |
| OSShutdown | The window is closing due to the operating system shutting down. |
| OwnerWindowClosing | The window is closing due to a parent/owner window closing. |
| Undefined | The cause of the closure was not provided by the underlying platform. |
| WindowClosing | The window itself was requested to close. |
ApplicationShutdown Field
The window is closing due to the application shutting down.
public Avalonia.Controls.WindowCloseReason ApplicationShutdown
OSShutdown Field
The window is closing due to the operating system shutting down.
public Avalonia.Controls.WindowCloseReason OSShutdown
OwnerWindowClosing Field
The window is closing due to a parent/owner window closing.
public Avalonia.Controls.WindowCloseReason OwnerWindowClosing
Undefined Field
The cause of the closure was not provided by the underlying platform.
public Avalonia.Controls.WindowCloseReason Undefined
WindowClosing Field
The window itself was requested to close.
public Avalonia.Controls.WindowCloseReason WindowClosing