Click or drag to resize

LifeSpanHandlerBuilderOnBeforePopupCreated Method

Version 97.1.60
The OnBeforePopupCreatedDelegate will be called before the popup has been created and can be used to cancel popup creation if required, modify IBrowserSettings and disable javascript.

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

Parameters

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

Return Value

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