ComponentOne Basic Library for WPF and Silverlight
Closing Event (C1Window)


C1.WPF Namespace > C1Window Class : Closing Event
Event fired when the window is about to close, allows the handler to stop the window from being closed.
Syntax
'Declaration
 
Public Event Closing As System.ComponentModel.CancelEventHandler
'Usage
 
Dim instance As C1Window
Dim handler As System.ComponentModel.CancelEventHandler
 
AddHandler instance.Closing, handler
public event System.ComponentModel.CancelEventHandler Closing
Event Data

The event handler receives an argument of type System.ComponentModel.CancelEventArgs containing data related to this event. The following CancelEventArgs properties provide information specific to this event.

PropertyDescription
 
See Also