WindowOnClosing Method
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
protected virtual void OnClosing(
WindowClosingEventArgs e
)
Protected Overridable Sub OnClosing (
e As WindowClosingEventArgs
)
abstract OnClosing :
e : WindowClosingEventArgs -> unit
override OnClosing :
e : WindowClosingEventArgs -> unit
Parameters
- e WindowClosingEventArgs
- The event args.
A type that derives from
Window may override
OnClosing(WindowClosingEventArgs). The
overridden method must call
OnClosing(WindowClosingEventArgs) on the base class if the
Closing event needs to be raised.