DefaultFocusHandlerOnSetFocus Method |
Version 51.0.0
Called when the browser component is requesting focus.
Namespace: CefSharp.WinForms.InternalsAssembly: CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 51.0.0.0 (51.0.0.0)
Syntax public virtual bool OnSetFocus(
CefFocusSource source
)
public:
virtual bool OnSetFocus(
CefFocusSource source
)
Parameters
- 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.
Implements
IFocusHandlerOnSetFocus(CefFocusSource)See Also