Class WindowClosingEventArgs
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
IsProgrammatic
Gets a value indicating whether the window is being closed programmatically.
public bool IsProgrammatic { get; }