LifeSpanHandlerBuilder Class |
Namespace: CefSharp.WinForms.Handler
The LifeSpanHandlerBuilder type exposes the following members.
Name | Description | |
---|---|---|
LifeSpanHandlerBuilder | Initializes a new instance of the LifeSpanHandlerBuilder class |
Name | Description | |
---|---|---|
Build |
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.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnPopupBrowserCreated |
The OnPopupBrowserCreatedDelegate will be called when theIBrowser has been
created. The IBrowser instance is valid until OnPopupDestroyed(OnPopupDestroyedDelegate)
is called. IBrowser provides low level access to the CEF Browser, you can access frames, view source,
perform navigation (via frame) etc.
| |
OnPopupCreated |
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.
| |
OnPopupDestroyed |
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].
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |