Click or drag to resize

IBrowserCloseBrowser Method

Version 67.0.0
Request that the browser close. The JavaScript 'onbeforeunload' event will be fired. If |forceClose| is false the event handler, if any, will be allowed to prompt the user and the user can optionally cancel the close. If |force_close| is true the prompt will not be displayed and the close will proceed. Results in a call to CefLifeSpanHandler::DoClose() if the event handler allows the close or if |force_close| is true. See CefLifeSpanHandler::DoClose() documentation for additional usage information.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 67.0.0.0 (67.0.0.0)
Syntax
void CloseBrowser(
	bool forceClose
)

Parameters

forceClose
Type: SystemBoolean

[Missing <param name="forceClose"/> documentation for "M:CefSharp.IBrowser.CloseBrowser(System.Boolean)"]

See Also