Click or drag to resize

LifeSpanHandlerBuilderOnPopupDestroyed Method

Version 99.2.120
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: 99.2.120.0 (99.2.120.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
LifeSpanHandlerBuilder instance allowing you to chain method calls together
See Also