Click or drag to resize

ChromiumWebBrowserOnSetBrowserInitialFocus Method

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