Click or drag to resize
CfxV8Accessor Class

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

Structure that should be implemented to handle V8 accessor calls. Accessor identifiers are registered by calling CfxV8Value.SetValue(). The functions of this structure will be called on the thread associated with the V8 accessor.
Inheritance Hierarchy
SystemObject
  ChromiumCfxObject
    ChromiumCfxBase
      ChromiumCfxClientBase
        ChromiumCfxV8Accessor

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

The CfxV8Accessor type exposes the following members.

Constructors
  NameDescription
Public methodCfxV8Accessor
Initializes a new instance of the CfxV8Accessor class
Top
Properties
  NameDescription
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.)
Top
Events
  NameDescription
Public eventGet
Handle retrieval the accessor value identified by |Name|. |Object| is the receiver ('this' object) of the accessor. If retrieval succeeds set |Retval| to the return value. If retrieval fails set |Exception| to the exception that will be thrown. Return true (1) if accessor retrieval was handled.
Public eventSet
Handle assignment of the accessor value identified by |Name|. |Object| is the receiver ('this' object) of the accessor. |Value| is the new value being assigned to the accessor. If assignment fails set |Exception| to the exception that will be thrown. Return true (1) if accessor assignment was handled.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_v8_capi.h.
See Also