Click or drag to resize

LifeSpanHandlerBuilderOnBeforePopupCreated Method

Version 111.2.70
The LifeSpanHandlerOnBeforePopupCreatedDelegate 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.Wpf.Experimental
Assembly:  CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 111.2.70.0 (111.2.70.0)
Syntax
public LifeSpanHandlerBuilder OnBeforePopupCreated(
	LifeSpanHandlerOnBeforePopupCreatedDelegate onBeforePopupCreated
)

Parameters

onBeforePopupCreated
Type: CefSharp.Wpf.ExperimentalLifeSpanHandlerOnBeforePopupCreatedDelegate
Action to be invoked before popup is created.

Return Value

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