Click or drag to resize

INode Interface

A single HTML DOM node in the document tree. All DOM objects implement the INode interface.

Namespace:  DotNetBrowser.Dom
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.16.0
Syntax
C#
public interface INode : IEventTarget, IAutoDisposable, 
	ISearchContext

The INode type exposes the following members.

Properties
  NameDescription
Public propertyChildren
Gets the collection of the child nodes. Modifying this collection will lead to the DOM tree modification.
Public propertyDocument
Gets the document instance containing this node.
Public propertyEvents
Gets the DOM events that can be listened.
(Inherited from IEventTarget.)
Public propertyFrame
Gets the frame containing this node.
Public propertyIsDisposed
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.)
Public propertyNextSibling
Gets the next sibling node in the document tree.
Public propertyNodeName
Gets the name of this node, depending on its NodeType.
Public propertyNodeValue
Gets the value of this node, depending on its NodeType.
Public propertyParent
Gets the parent node.
Public propertyPreviousSibling
Gets the previous sibling node in the document tree.
Public propertyTextContent
Gets or sets the text content of the node and its descendants.
Public propertyType
Gets the type of this node.
Public propertyXPath
Gets an XPath for the current Node.
Top
Methods
  NameDescription
Public methodClick
Simulates click on the current Node.
Public methodCompareDocumentPosition
Compares position of the current node against another node in a DOM tree.
Public methodDispatchEvent
Dispatches (sends) a particular DOM event to the current target.
(Inherited from IEventTarget.)
Public methodEvaluate
Evaluates an XPath expression.
Public methodGetElementByClassName
Finds the first IElement object in the current search context by the given className.
(Inherited from ISearchContext.)
Public methodGetElementByCssSelector
Finds the first IElement object in the current search context by the given CSS selector.
(Inherited from ISearchContext.)
Public methodGetElementById
Finds the first IElement object in the current search context by the given id.
(Inherited from ISearchContext.)
Public methodGetElementByName
Finds the first IElement object in the current search context by the given name.
(Inherited from ISearchContext.)
Public methodGetElementByTagName
Finds the first IElement object in the current search context by the given tag name.
(Inherited from ISearchContext.)
Public methodGetElementsByClassName
Finds all IElement objects in the current search context by the given className.
(Inherited from ISearchContext.)
Public methodGetElementsByCssSelector
Finds all IElement objects in the current search context by the given cssSelector.
(Inherited from ISearchContext.)
Public methodGetElementsByName
Finds all IElement objects in the current search context by the given name.
(Inherited from ISearchContext.)
Public methodGetElementsByTagName
Finds all IElement objects in the current search context by the given tag name.
(Inherited from ISearchContext.)
Top
Events
  NameDescription
Public eventDisposed
Occurs when the object has been disposed.
(Inherited from IAutoDisposable.)
Top
See Also