Click or drag to resize

IChromiumWebBrowserBaseFrameLoadStart Event

Version 98.1.210
Event handler that will get called when the browser begins loading a frame. Multiple frames may be loading at the same time. Sub-frames may start or continue loading after the main frame load has ended. This method may not be called for a particular frame if the load request for that frame fails. For notification of overall browser load status use OnLoadingStateChange instead. It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread. It is unwise to block on this thread for any length of time as your browser will become unresponsive and/or hang.. To access UI elements you'll need to Invoke/Dispatch onto the UI Thread.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 98.1.210.0 (98.1.210.0)
Syntax
event EventHandler<FrameLoadStartEventArgs> FrameLoadStart

Value

Type: SystemEventHandlerFrameLoadStartEventArgs
Remarks
Whilst this may seem like a logical place to execute js, it's called before the DOM has been loaded, implement OnContextCreated(IWebBrowser, IBrowser, IFrame) as it's called when the underlying V8Context is created
See Also