Click or drag to resize

LifeSpanHandlerBuilderOnPopupDestroyed 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 LifeSpanHandlerBuilder OnPopupDestroyed(
	OnPopupDestroyedDelegate onPopupDestroyed
)

Parameters

onPopupDestroyed
Type: CefSharp.WinForms.HandlerOnPopupDestroyedDelegate
Action to be invoked when the Popup is to be destroyed.

Return Value

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