FocusHandlerOnTakeFocus Method |
Version 96.0.142
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: 96.0.142.0 (96.0.142.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