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


C1.Silverlight 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 CancelEventHandler
'Usage
 
Dim instance As C1Window
Dim handler As CancelEventHandler
 
AddHandler instance.Closing, handler
public event CancelEventHandler Closing
Event Data

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

PropertyDescription
Gets or sets a value indicating whether the event should be canceled.  
See Also