Click or drag to resize

LifeSpanHandlerOnPopupCreated Method

Version 111.2.70
The OnPopupCreatedDelegate will be called when theChromiumHostControl has been created. When the OnPopupCreatedDelegate is called you must add the control to it's intended parent so the ClientRectangle can be calculated to set the initial size correctly.

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

Parameters

onPopupCreated
Type: CefSharp.WinForms.HandlerOnPopupCreatedDelegate
Action to be invoked when the Popup host has been created and is ready to be attached to it's parent.

Return Value

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