Click or drag to resize
CfxDomNode Class

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

Structure used to represent a DOM node. The functions of this structure should only be called on the render process main thread.
Inheritance Hierarchy

Namespace: Chromium
Assembly: ChromiumFX (in ChromiumFX.dll)
public class CfxDomNode : CfxLibraryBase

The CfxDomNode type exposes the following members.

Public propertyAsMarkup
Returns the contents of this node as markup.
Public propertyDocument
Returns the document associated with this node.
Public propertyElementBounds
Returns the bounds of the element.
Public propertyElementInnerText
Returns the inner text of the element.
Public propertyElementTagName
Returns the tag name of this element.
Public propertyFirstChild
Return the first child node.
Public propertyFormControlElementType
Returns the type of this form control element node.
Public propertyHasChildren
Returns true (1) if this node has child nodes.
Public propertyHasElementAttributes
Returns true (1) if this element has attributes.
Public propertyIsEditable
Returns true (1) if this is an editable node.
Public propertyIsElement
Returns true (1) if this is an element node.
Public propertyIsFormControlElement
Returns true (1) if this is a form control element node.
Public propertyIsText
Returns true (1) if this is a text node.
Public propertyLastChild
Returns the last child node.
Public propertyName
Returns the name of this node.
Public propertyNativePtr
Provides access to the underlying native cef struct. This is a refcounted library 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 CfxLibraryBase.)
Public propertyNextSibling
Returns the next sibling node.
Public propertyParent
Returns the parent node.
Public propertyPreviousSibling
Returns the previous sibling node.
Public propertyType
Returns the type for this node.
Public propertyValue
Returns the value of this node.
Public methodGetElementAttribute
Returns the element attribute named |attrName|.
Public methodGetElementAttributes
Returns a map of all element attributes.
Public methodHasElementAttribute
Returns true (1) if this element has an attribute named |attrName|.
Public methodIsSame
Returns true (1) if this object is pointing to the same handle as |that| object.
Public methodSetElementAttribute
Set the value for the element attribute named |attrName|. Returns true (1) on success.
Public methodSetValue
Set the value of this node. Returns true (1) on success.
See also the original CEF documentation in cef/include/capi/cef_dom_capi.h.
See Also