Click or drag to resize

LifeSpanHandlerCreate Method

Version 112.3.0
Create a new instance of the LifeSpanHandlerBuilder which can be used to create a WinForms specific ILifeSpanHandler implementation that simplifies the process of hosting a Popup as a Control/Tab. In scnarios where you also need to implement ILoadHandler then instead of implementing directly you will need to inherit from LoadHandler. As it provides base functionality required to make ChromiumHostControl events work correctly.

Namespace:  CefSharp.WinForms.Handler
Assembly:  CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 112.3.0.0 (112.3.0.0)
Syntax
public static LifeSpanHandlerBuilder Create(
	CreatePopupChromiumHostControl chromiumHostControlCreatedDelegate = null
)

Parameters

chromiumHostControlCreatedDelegate (Optional)
Type: CefSharp.WinForms.HandlerCreatePopupChromiumHostControl

[Missing <param name="chromiumHostControlCreatedDelegate"/> documentation for "M:CefSharp.WinForms.Handler.LifeSpanHandler.Create(CefSharp.WinForms.Handler.CreatePopupChromiumHostControl)"]

Return Value

Type: LifeSpanHandlerBuilder
A LifeSpanHandlerBuilder which can be used to fluently create an ILifeSpanHandler. Call Build to create the actual instance after you have call OnPopupCreated(OnPopupCreatedDelegate) etc.
See Also