Summary
Raises the
Closing
event.
- Namespace
- Avalonia
.Controls - Containing Type
- Window
Syntax
protected virtual void OnClosing(CancelEventArgs e)
Remarks
A type that derives from
Window
may override Avalonia.Controls.Window.OnClosing(CancelEventArgs)
. The
overridden method must call Avalonia.Controls.Window.OnClosing(CancelEventArgs)
on the base class if the
Closing
event needs to be raised.
Parameters
Name | Type | Description |
---|---|---|
e | CancelEventArgs | The event args. |
Return Value
Type | Description |
---|---|
void |