WebBrowserExtended.WindowClosing Event

Fires when the window of the object is about to be closed by script.

Namespace: Microsoft.Uii.Csr.Browser.Web
Assembly: Microsoft.Uii.Csr.Browser.Web (in Microsoft.Uii.Csr.Browser.Web.dll)

Usage

'Usage
Dim instance As WebBrowserExtended
Dim handler As EventHandler(Of WindowClosingEventArgs)

AddHandler instance.WindowClosing, handler

Syntax

'Declaration
<BrowsableAttribute(True)> _
<CategoryAttribute("DWebBrowserEvents2")> _
<DescriptionAttribute("Fires when the window of the object is about to be closed by script.")> _
Public Event WindowClosing As EventHandler(Of WindowClosingEventArgs)
[BrowsableAttribute(true)] 
[CategoryAttribute("DWebBrowserEvents2")] 
[DescriptionAttribute("Fires when the window of the object is about to be closed by script.")] 
public event EventHandler<WindowClosingEventArgs> WindowClosing
[BrowsableAttribute(true)] 
[CategoryAttribute(L"DWebBrowserEvents2")] 
[DescriptionAttribute(L"Fires when the window of the object is about to be closed by script.")] 
public:
event EventHandler<WindowClosingEventArgs^>^ WindowClosing {
    void add (EventHandler<WindowClosingEventArgs^>^ value);
    void remove (EventHandler<WindowClosingEventArgs^>^ value);
}
/** @event */
public void add_WindowClosing (EventHandler<WindowClosingEventArgs> value)

/** @event */
public void remove_WindowClosing (EventHandler<WindowClosingEventArgs> value)

Platforms

See Also

Reference

WebBrowserExtended Class
WebBrowserExtended Members
Microsoft.Uii.Csr.Browser.Web Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.