Click or drag to resize

LifeSpanHandlerOnPopupDestroyed Method

Version 94.4.20
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: (
public LifeSpanHandler OnPopupDestroyed(
	OnPopupDestroyedDelegate 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