Click or drag to resize

LifeSpanHandlerOnBeforePopupCreated 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 or modify IBrowserSettings.

Namespace:  CefSharp.Wpf.Experimental
Assembly:  CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 111.2.70.0 (111.2.70.0)
Syntax
public LifeSpanHandler OnBeforePopupCreated(
	LifeSpanHandlerOnBeforePopupCreatedDelegate onBeforePopupCreated
)

Parameters

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

Return Value

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