WindowClosingEventArgs Class
Definition
Provides data for the Avalonia.Controls.Window.Closing event.
public class WindowClosingEventArgs
Properties
| Name | Description |
|---|---|
| CloseReason | Gets a value that indicates why the window is being closed. |
| IsProgrammatic | Gets a value indicating whether the window is being closed programmatically. |
CloseReason Property
Gets a value that indicates why the window is being closed.
public Avalonia.Controls.WindowCloseReason CloseReason { get; set; }
IsProgrammatic Property
Gets a value indicating whether the window is being closed programmatically.
public bool IsProgrammatic { get; set; }