Called to run a dialog asking the user if they want to leave a page. Return false to use the default dialog implementation. Return true if the application will use a custom dialog or if the callback has been executed immediately. Custom dialogs may be either modal or modeless. If a custom dialog is used the application must execute callback once the custom dialog is dismissed.
Namespace: CefSharpCefSharp (in CefSharp.dll) Version: 75.1.140.0 (75.1.140.0)
Syntaxbool OnBeforeUnloadDialog( IWebBrowser chromiumWebBrowser, IBrowser browser, string messageText, bool isReload, IJsDialogCallback callback )
bool OnBeforeUnloadDialog( IWebBrowser^ chromiumWebBrowser, IBrowser^ browser, String^ messageText, bool isReload, IJsDialogCallback^ callback )Parameters
Type:
BooleanReturn false to use the default dialog implementation otherwise return true to handle with your own custom implementation.
See AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4