LifeSpanHandlerOnBeforeClose Method |
Version 104.4.240
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: 104.4.240.0 (104.4.240.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