Click or drag to resize

IFocusHandler.OnTakeFocus Method

Version 112.3.0
Called when the browser component is about to lose focus. For instance, if focus was on the last HTML element and the user pressed the TAB key.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 112.3.0.0 (112.3.0.0)
Syntax
void OnTakeFocus(
	IWebBrowser chromiumWebBrowser,
	IBrowser browser,
	bool next
)

Parameters

chromiumWebBrowser
Type: CefSharp.IWebBrowser
the ChromiumWebBrowser control
browser
Type: CefSharp.IBrowser
the browser object
next
Type: System.Boolean
Will be true if the browser is giving focus to the next component and false if the browser is giving focus to the previous component.
See Also