Click or drag to resize

ChromiumWebBrowserOnSetBrowserInitialFocus Method

Version 130.1.90
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: 129.0.110.0 (129.0.110.0)
Syntax
protected virtual void OnSetBrowserInitialFocus()
See Also