LifeSpanHandlerOnBeforeClose Method |
Version 94.4.20
Called before a CefBrowser window (either the main browser for
IWebBrowser,
or one of its children)
Namespace:
CefSharp.WinForms.Handler
Assembly:
CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 94.4.20.0 (94.4.20.0)
Syntax protected override void OnBeforeClose(
IWebBrowser chromiumWebBrowser,
IBrowser browser
)
protected:
virtual void OnBeforeClose(
IWebBrowser^ chromiumWebBrowser,
IBrowser^ browser
) override
Parameters
- chromiumWebBrowser
- Type: CefSharpIWebBrowser
the ChromiumWebBrowser control - browser
- Type: CefSharpIBrowser
The browser instance
See Also