ChromiumWebBrowserFocusHandler Property |
Version 85.3.121
Namespace:
CefSharp.OffScreen
Assembly:
CefSharp.OffScreen (in CefSharp.OffScreen.dll) Version: 85.3.121.0 (85.3.121.0)
Syntax public IFocusHandler FocusHandler { get; set; }
public:
virtual property IFocusHandler^ FocusHandler {
IFocusHandler^ get () sealed;
void set (IFocusHandler^ value) sealed;
}
Property Value
Type:
IFocusHandlerThe focus handler.
Implements
IWebBrowserFocusHandlerRemarks If you need customized focus handling behavior for WinForms, the suggested
best practice would be to inherit from DefaultFocusHandler and try to avoid
needing to override the logic in OnGotFocus. The implementation in
DefaultFocusHandler relies on very detailed behavior of how WinForms and
Windows interact during window activation.
See Also