CefJSDialogHandler OnBeforeUnloadDialog Method Xilium.CefGlue

[This is preliminary documentation and is subject to change.]

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: Xilium.CefGlue
Assembly: Xilium.CefGlue (in Xilium.CefGlue.dll) Version: 3.2272.2035.0 (3.2272.2035.0)
Syntax

protected abstract bool OnBeforeUnloadDialog(
	CefBrowser browser,
	string messageText,
	bool isReload,
	CefJSDialogCallback callback
)

Parameters

browser
Type: Xilium.CefGlue CefBrowser

[Missing <param name="browser"/> documentation for "M:Xilium.CefGlue.CefJSDialogHandler.OnBeforeUnloadDialog(Xilium.CefGlue.CefBrowser,System.String,System.Boolean,Xilium.CefGlue.CefJSDialogCallback)"]

messageText
Type: OnlineSystem String

[Missing <param name="messageText"/> documentation for "M:Xilium.CefGlue.CefJSDialogHandler.OnBeforeUnloadDialog(Xilium.CefGlue.CefBrowser,System.String,System.Boolean,Xilium.CefGlue.CefJSDialogCallback)"]

isReload
Type: OnlineSystem Boolean

[Missing <param name="isReload"/> documentation for "M:Xilium.CefGlue.CefJSDialogHandler.OnBeforeUnloadDialog(Xilium.CefGlue.CefBrowser,System.String,System.Boolean,Xilium.CefGlue.CefJSDialogCallback)"]

callback
Type: Xilium.CefGlue CefJSDialogCallback

[Missing <param name="callback"/> documentation for "M:Xilium.CefGlue.CefJSDialogHandler.OnBeforeUnloadDialog(Xilium.CefGlue.CefBrowser,System.String,System.Boolean,Xilium.CefGlue.CefJSDialogCallback)"]

Return Value

Type: OnlineBoolean

[Missing <returns> documentation for "M:Xilium.CefGlue.CefJSDialogHandler.OnBeforeUnloadDialog(Xilium.CefGlue.CefBrowser,System.String,System.Boolean,Xilium.CefGlue.CefJSDialogCallback)"]

See Also