Click or drag to resize

LifeSpanHandler.OnPopupDestroyed Method

Version 93.1.111
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: 93.1.111.0 (93.1.111.0)
Syntax
public LifeSpanHandler OnPopupDestroyed(
	OnPopupDestroyedDelegate onPopupDestroyed
)

Parameters

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