Event fired when the window is about to close, allows the handler to stop the window from being closed.
Namespace:
C1.WPFAssembly: C1.WPF (in C1.WPF.dll)
XMLNS for XAML: Not mapped to an xmlns.
Syntax
C# |
---|
public event CancelEventHandler Closing |
Visual Basic |
---|
Public Event Closing As CancelEventHandler |
XAML Attribute Usage |
---|
<object Closing="CancelEventHandler" .../> |