OnClosing Method
Raises the Closing event.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
protected virtual void OnClosing(
WindowClosingEventArgs e
)
Protected Overridable Sub OnClosing (
e As WindowClosingEventArgs
)
abstract OnClosing :
e : WindowClosingEventArgs -> unit
override OnClosing :
e : WindowClosingEventArgs -> unit
Parameters
- WindowClosingEventArgs
- The event args.
Remarks
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.