Click or drag to resize

LifeSpanHandlerOnPopupDestroyed Method

Version 112.3.0
The OnPopupDestroyedDelegate will be called when the ChromiumHostControl is to be removed from it's parent. When the OnPopupDestroyedDelegate is called you must remove/dispose of the ChromiumHostControl.

Namespace:  CefSharp.WinForms.Handler
Assembly:  CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 112.3.0.0 (112.3.0.0)
Syntax
public LifeSpanHandler OnPopupDestroyed(
	OnPopupDestroyedDelegate onPopupDestroyed
)

Parameters

onPopupDestroyed
Type: CefSharp.WinForms.HandlerOnPopupDestroyedDelegate
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