Click or drag to resize
IRenderProcessMessageHandlerOnContextCreated Method
Version 51.0.0
OnContextCreated is called in the Render process immediately after a CefV8Context is created. An IPC message is immediately sent to notify the context has been created (should be safe to execute javascript). If the page has no javascript then on context will be created and as a result this method will not be called. Currently only called for the Main frame IsMain

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 51.0.0.0 (51.0.0.0)
Syntax
void OnContextCreated(
	IWebBrowser browserControl,
	IBrowser browser,
	IFrame frame
)

Parameters

browserControl
Type: CefSharpIWebBrowser
The ChromiumWebBrowser control
browser
Type: CefSharpIBrowser
the browser object
frame
Type: CefSharpIFrame
The frame.
See Also