| FocusHandlerOnSetFocus Method  | 
Version 92.0.260 
            Called when the browser component is requesting focus.
            
 
    Namespace: 
   CefSharp.Handler
    Assembly:
   CefSharp (in CefSharp.dll) Version: 92.0.260.0 (92.0.260.0)
 Syntax
Syntaxprotected virtual bool OnSetFocus(
	IWebBrowser chromiumWebBrowser,
	IBrowser browser,
	CefFocusSource source
)
protected:
virtual bool OnSetFocus(
	IWebBrowser^ chromiumWebBrowser, 
	IBrowser^ browser, 
	CefFocusSource source
)
Parameters
- chromiumWebBrowser
- Type: CefSharpIWebBrowser
 the ChromiumWebBrowser control
- browser
- Type: CefSharpIBrowser
 the browser object, do not keep a reference to this object outside of this method
- source
- Type: CefSharpCefFocusSource
 Indicates where the focus request is originating from.
Return Value
Type: 
BooleanReturn false to allow the focus to be set or true to cancel setting the focus.
 See Also
See Also