Click or drag to resize

LifeSpanHandlerOnBeforePopupCreated Method

Version 101.0.180
The OnBeforePopupCreatedDelegate will be called before the popup has been created and can be used to cancel popup creation if required or modify IBrowserSettings.

Namespace:  CefSharp.WinForms.Handler
Assembly:  CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax
public LifeSpanHandler OnBeforePopupCreated(
	OnBeforePopupCreatedDelegate onBeforePopupCreated
)

Parameters

onBeforePopupCreated
Type: CefSharp.WinForms.HandlerOnBeforePopupCreatedDelegate
Action to be invoked before popup is created.

Return Value

Type: LifeSpanHandler
LifeSpanHandler instance allowing you to chain method calls together
See Also