LifeSpanHandlerOnBeforeClose Method |
Version 111.2.70
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: 111.2.70.0 (111.2.70.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