Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / C1Window Class / Closing Event

In This Topic
    Closing Event (C1Window)
    In This Topic
    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
    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