Click or drag to resize

LifeSpanHandlerBuilder Class

Version 108.4.130
Fluent LifeSpanHandler Builder
Inheritance Hierarchy
SystemObject
  CefSharp.Wpf.ExperimentalLifeSpanHandlerBuilder

Namespace:  CefSharp.Wpf.Experimental
Assembly:  CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 108.4.130.0 (108.4.130.0)
Syntax
public class LifeSpanHandlerBuilder

The LifeSpanHandlerBuilder type exposes the following members.

Constructors
  NameDescription
Public methodLifeSpanHandlerBuilder
LifeSpanHandlerBuilder
Top
Methods
  NameDescription
Public methodBuild
Creates an ILifeSpanHandler implementation that can be used to host popups as tabs/controls.
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 methodOnBeforePopupCreated
The LifeSpanHandlerOnBeforePopupCreatedDelegate will be called before the popup has been created and can be used to cancel popup creation if required, modify IBrowserSettings and disable javascript.
Public methodOnPopupBrowserCreated
The LifeSpanHandlerOnPopupBrowserCreatedDelegate will be called when theIBrowser has been created. The IBrowser instance is valid until OnPopupDestroyed(LifeSpanHandlerOnPopupDestroyedDelegate) is called. IBrowser provides low level access to the CEF Browser, you can access frames, view source, perform navigation (via frame) etc.
Public methodOnPopupCreated
The LifeSpanHandlerOnPopupCreatedDelegate will be called when theChromiumWebBrowser has been created. When the LifeSpanHandlerOnPopupCreatedDelegate is called you must add the control to it's intended parent.
Public methodOnPopupDestroyed
The LifeSpanHandlerOnPopupDestroyedDelegate will be called when the ChromiumWebBrowser is to be removed from it's parent. When the LifeSpanHandlerOnPopupDestroyedDelegate is called you must remove/dispose of the ChromiumWebBrowser.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also