FocusHandlerOnTakeFocus Method |
Version 101.0.180
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.Handler
Assembly:
CefSharp (in CefSharp.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax protected virtual void OnTakeFocus(
IWebBrowser chromiumWebBrowser,
IBrowser browser,
bool next
)
protected:
virtual void OnTakeFocus(
IWebBrowser^ chromiumWebBrowser,
IBrowser^ browser,
bool next
)
Parameters
- chromiumWebBrowser
- Type: CefSharpIWebBrowser
the ChromiumWebBrowser control - browser
- Type: CefSharpIBrowser
the browser object - next
- Type: SystemBoolean
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