LifeSpanHandlerOnBeforeClose Method |
Version 100.0.140
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: 100.0.140.0 (100.0.140.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