Click or drag to resize
CfxOnBeforeUnloadDialogEventHandler Delegate

[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 (0) to use the default dialog implementation. Return true (1) 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: Chromium.Event
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public delegate void CfxOnBeforeUnloadDialogEventHandler(
	Object sender,
	CfxOnBeforeUnloadDialogEventArgs e
)

Parameters

sender
Type: SystemObject
e
Type: Chromium.EventCfxOnBeforeUnloadDialogEventArgs
Remarks
See also the original CEF documentation in cef/include/capi/cef_jsdialog_handler_capi.h.
See Also