Click or drag to resize

LifeSpanHandlerBuilderOnPopupCreated Method

Version 98.1.210
The OnPopupCreatedDelegate will be called when the[!:ChromiumHostControl] has been created. When the OnPopupCreatedDelegate is called you must add the control to it's intended parent so the [!:Control.ClientRectangle] can be calculated to set the initial size correctly.

Namespace:  CefSharp.WinForms.Handler
Assembly:  CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 98.1.210.0 (98.1.210.0)
Syntax
public LifeSpanHandlerBuilder OnPopupCreated(
	OnPopupCreatedDelegate onPopupCreated
)

Parameters

onPopupCreated
Type: CefSharp.WinForms.HandlerOnPopupCreatedDelegate
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