Click or drag to resize

ChromiumWebBrowserOnSetBrowserInitialFocus Method

Version 118.6.80
Called from OnAfterBrowserCreated(IBrowser) when we set focus to the CefBrowser instance via SetFocus(Boolean). Method is only called if the browser got focus via OnGotFocus(EventArgs) before the call to OnAfterBrowserCreated(IBrowser). Can be overridden to provide custom behaviour.

Namespace:  CefSharp.WinForms
Assembly:  CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 118.6.80.0 (118.6.80.0)
Syntax
protected virtual void OnSetBrowserInitialFocus()
See Also