Constructor WindowClosingEventArgs
WindowClosingEventArgs()
Initializes a new instance of the WindowClosingEventArgs class.
public WindowClosingEventArgs()
WindowClosingEventArgs(bool)
Initializes a new instance of the WindowClosingEventArgs class with the specified argument.
public WindowClosingEventArgs(bool cancel)
Parameters
cancel
booltrue
to cancel the event; otherwise,false
.