INode Interface |
Namespace: DotNetBrowser.Dom
public interface INode : IEventTarget, IAutoDisposable, ISearchContext
The INode type exposes the following members.
Name | Description | |
---|---|---|
Children |
Gets the collection of the child nodes. Modifying this collection will lead to the DOM tree modification.
| |
Document |
Gets the document instance containing this node.
| |
Events |
Gets the DOM events that can be listened.
(Inherited from IEventTarget.) | |
Frame |
Gets the frame containing this node.
| |
IsDisposed |
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.) | |
NextSibling |
Gets the next sibling node in the document tree.
| |
NodeName |
Gets the name of this node, depending on its NodeType.
| |
NodeValue |
Gets the value of this node, depending on its NodeType.
| |
Parent |
Gets the parent node.
| |
PreviousSibling |
Gets the previous sibling node in the document tree.
| |
TextContent |
Gets or sets the text content of the node and its descendants.
| |
Type |
Gets the type of this node.
| |
XPath |
Gets an XPath for the current Node.
|
Name | Description | |
---|---|---|
Click |
Simulates click on the current Node.
| |
CompareDocumentPosition |
Compares position of the current node against another node in a DOM tree.
| |
DispatchEvent |
Dispatches (sends) a particular DOM event to the current target.
(Inherited from IEventTarget.) | |
Evaluate |
Evaluates an XPath expression.
| |
GetElementByClassName |
Finds the first IElement object in the current search context by the given
className.
(Inherited from ISearchContext.) | |
GetElementByCssSelector |
Finds the first IElement object in the current search context by the given CSS selector.
(Inherited from ISearchContext.) | |
GetElementById |
Finds the first IElement object in the current search context by the given id.
(Inherited from ISearchContext.) | |
GetElementByName |
Finds the first IElement object in the current search context by the given name.
(Inherited from ISearchContext.) | |
GetElementByTagName |
Finds the first IElement object in the current search context by the given tag name.
(Inherited from ISearchContext.) | |
GetElementsByClassName |
Finds all IElement objects in the current search context by the given className.
(Inherited from ISearchContext.) | |
GetElementsByCssSelector |
Finds all IElement objects in the current search context by the given
cssSelector.
(Inherited from ISearchContext.) | |
GetElementsByName |
Finds all IElement objects in the current search context by the given name.
(Inherited from ISearchContext.) | |
GetElementsByTagName |
Finds all IElement objects in the current search context by the given tag name.
(Inherited from ISearchContext.) |
Name | Description | |
---|---|---|
Disposed |
Occurs when the object has been disposed.
(Inherited from IAutoDisposable.) |