Click or drag to resize
CfxOnSetFocusEventArgs Class

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

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.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    ChromiumCfxEventArgs
      Chromium.EventCfxOnSetFocusEventArgs

Namespace: Chromium.Event
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxOnSetFocusEventArgs : CfxEventArgs

The CfxOnSetFocusEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyBrowser
Get the Browser parameter for the OnSetFocus callback.
Public propertySource
Get the Source parameter for the OnSetFocus callback.
Top
Methods
  NameDescription
Public methodSetReturnValue
Set the return value for the OnSetFocus callback. Calling SetReturnValue() more then once per callback or from different event handlers will cause an exception to be thrown.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_focus_handler_capi.h.
See Also