LifeSpanHandlerOnBeforeClose Method |
Version 118.6.80
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: 118.6.80.0 (118.6.80.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