Click or drag to resize
CfxFocusHandler Class

[This is preliminary documentation and is subject to change.]

Implement this structure to handle events related to focus. The functions of this structure will be called on the UI thread.
Inheritance Hierarchy

Namespace: Chromium
Assembly: ChromiumFX (in ChromiumFX.dll)
public class CfxFocusHandler : CfxClientBase

The CfxFocusHandler type exposes the following members.

Public methodCfxFocusHandler
Initializes a new instance of the CfxFocusHandler class
Public propertyCallbacksDisabled
When true, all CEF callback events are disabled for this handler. Incoming callbacks will return default values to CEF.
(Inherited from CfxClientBase.)
Public propertyNativePtr
Provides access to the underlying native cef struct. This is a refcounted client struct derived from cef_base_t. Add a ref in order to keep it alive when this managed object go out of scope.
(Inherited from CfxClientBase.)
Public eventOnGotFocus
Called when the browser component has received focus.
Public eventOnSetFocus
Called when the browser component is requesting focus. |Source| indicates where the focus request is originating from. Return false (0) to allow the focus to be set or true (1) to cancel setting the focus.
Public eventOnTakeFocus
Called when the browser component is about to loose focus. For instance, if focus was on the last HTML element and the user pressed the TAB key. |Next| will be true (1) if the browser is giving focus to the next component and false (0) if the browser is giving focus to the previous component.
See also the original CEF documentation in cef/include/capi/cef_focus_handler_capi.h.
See Also