Click or drag to resize
CfxDomDocument Class

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

Structure used to represent a DOM document. The functions of this structure should only be called on the render process main thread thread.
Inheritance Hierarchy
SystemObject
  ChromiumCfxObject
    ChromiumCfxBase
      ChromiumCfxLibraryBase
        ChromiumCfxDomDocument

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

The CfxDomDocument type exposes the following members.

Properties
  NameDescription
Public propertyBaseUrl
Returns the base URL for the document.
Public propertyBody
Returns the BODY node of an HTML document.
Public propertyDocument
Returns the root document node.
Public propertyFocusedNode
Returns the node that currently has keyboard focus.
Public propertyHasSelection
Returns true (1) if a portion of the document is selected.
Public propertyHead
Returns the HEAD node of an HTML document.
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 propertySelectionAsMarkup
Returns the contents of this selection as markup.
Public propertySelectionAsText
Returns the contents of this selection as text.
Public propertySelectionEndOffset
Returns the selection offset within the end node.
Public propertySelectionStartOffset
Returns the selection offset within the start node.
Public propertyTitle
Returns the title of an HTML document.
Public propertyType
Returns the document type.
Top
Methods
  NameDescription
Public methodGetCompleteUrl
Returns a complete URL based on the document base URL and the specified partial URL.
Public methodGetElementById
Returns the document element with the specified ID value.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_dom_capi.h.
See Also