Click or drag to resize

IFrameHandlerOnFrameDetached Method

Version 111.2.70
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
Assembly:  CefSharp (in CefSharp.dll) Version: 111.2.70.0 (111.2.70.0)
Syntax
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