Table of Contents

Class WindowClosingEventArgs

Namespace
Avalonia.Controls
Assembly
Avalonia.Controls.dll

Provides data for the Closing event.

public class WindowClosingEventArgs : CancelEventArgs
Inheritance
WindowClosingEventArgs
Inherited Members

Properties

CloseReason

Gets a value that indicates why the window is being closed.

public WindowCloseReason CloseReason { get; }

Property Value

WindowCloseReason

IsProgrammatic

Gets a value indicating whether the window is being closed programmatically.

public bool IsProgrammatic { get; }

Property Value

bool