Click or drag to resize

LifeSpanHandlerBuilder Class

Version 92.0.260
Fluent LifeSpanHandler Builder
Inheritance Hierarchy
SystemObject
  CefSharp.WinForms.HandlerLifeSpanHandlerBuilder

Namespace:  CefSharp.WinForms.Handler
Assembly:  CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 92.0.260.0 (92.0.260.0)
Syntax
public class LifeSpanHandlerBuilder

The LifeSpanHandlerBuilder type exposes the following members.

Constructors
  NameDescription
Public methodLifeSpanHandlerBuilder
Initializes a new instance of the LifeSpanHandlerBuilder class
Top
Methods
  NameDescription
Public methodBuild
Creates an ILifeSpanHandler implementation that can be used to host popups as tabs/controls. The resulting ILifeSpanHandler returns true in DoClose(IWebBrowser, IBrowser) so no WM_CLOSE message is sent, this differs from the default CEF behaviour.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnPopupCreated
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.
Public methodOnPopupDestroyed
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].
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also