Click or drag to resize

LifeSpanHandlerOnPopupDestroyed Method

Version 111.2.70
The LifeSpanHandlerOnPopupDestroyedDelegate will be called when the ChromiumWebBrowser is to be removed from it's parent. When the LifeSpanHandlerOnPopupDestroyedDelegate is called you must remove/dispose of the ChromiumWebBrowser.

Namespace:  CefSharp.Wpf.Experimental
Assembly:  CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 111.2.70.0 (111.2.70.0)
Syntax
public LifeSpanHandler OnPopupDestroyed(
	LifeSpanHandlerOnPopupDestroyedDelegate onPopupDestroyed
)

Parameters

onPopupDestroyed
Type: CefSharp.Wpf.ExperimentalLifeSpanHandlerOnPopupDestroyedDelegate
Action to be invoked when the Popup is to be destroyed.

Return Value

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