Click or drag to resize

FrameHandlerOnFrameDetached Method

Version 96.0.142
Called when a frame loses its connection to the renderer process and will be destroyed. Any pending or future commands will be discarded and IsValid will now return false for frame. If called after OnBeforeClose(IWebBrowser, IBrowser) during browser destruction then IsValid will return false for browser.

Namespace:  CefSharp.Handler
Assembly:  CefSharp (in CefSharp.dll) Version: 96.0.142.0 (96.0.142.0)
Syntax
protected virtual void OnFrameDetached(
	IWebBrowser chromiumWebBrowser,
	IBrowser browser,
	IFrame frame
)

Parameters

chromiumWebBrowser
Type: CefSharpIWebBrowser
the ChromiumWebBrowser control
browser
Type: CefSharpIBrowser
the browser object
frame
Type: CefSharpIFrame
the frame object
See Also