Click or drag to resize

FrameHandlerOnFrameDetached Method

Version 112.3.0
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: 112.3.0.0 (112.3.0.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