IDocument Interface |
Namespace: DotNetBrowser.Dom
public interface IDocument : INode, IEventTarget, IAutoDisposable, ISearchContext
The IDocument type exposes the following members.
| Name | Description | |
|---|---|---|
| BaseUri |
Gets the <base> element's href attribute if one
is present.
| |
| Children |
Gets the collection of the child nodes. Modifying this collection will lead to the DOM tree modification.
(Inherited from INode.) | |
| Document |
Gets the document instance containing this node.
(Inherited from INode.) | |
| DocumentElement |
Gets the document HTML element that usually represents HTML tag.
| |
| Events |
Gets the DOM events that can be listened.
(Inherited from IEventTarget.) | |
| FocusedElement |
Gets the currently focused element in the document.
| |
| Frame |
Gets the frame containing this node.
(Inherited from INode.) | |
| IsDisposed |
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.) | |
| NextSibling |
Gets the next sibling node in the document tree.
(Inherited from INode.) | |
| NodeName |
Gets the name of this node, depending on its NodeType.
(Inherited from INode.) | |
| NodeValue |
Gets the value of this node, depending on its NodeType.
(Inherited from INode.) | |
| Parent |
Gets the parent node.
(Inherited from INode.) | |
| PreviousSibling |
Gets the previous sibling node in the document tree.
(Inherited from INode.) | |
| TextContent |
Gets or sets the text content of the node and its descendants.
(Inherited from INode.) | |
| Type |
Gets the type of this node.
(Inherited from INode.) | |
| XPath |
Gets an XPath for the current Node.
(Inherited from INode.) |
| Name | Description | |
|---|---|---|
| Click |
Simulates click on the current Node.
(Inherited from INode.) | |
| CompareDocumentPosition |
Compares position of the current node against another node in a DOM tree.
(Inherited from INode.) | |
| CreateElement |
Creates and returns a new DOM element with the specified tag name.
| |
| CreateEvent |
Creates a DOM event instance of the specified type.
| |
| CreateKeyDownEvent | ||
| CreateKeyPressEvent | ||
| CreateKeyUpEvent | ||
| CreateMouseEvent | ||
| CreateTextNode |
Returns a new Text DOM node with TextNode type.
| |
| DispatchEvent |
Dispatches (sends) a particular DOM event to the current target.
(Inherited from IEventTarget.) | |
| Evaluate |
Evaluates an XPath expression.
(Inherited from INode.) | |
| 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.) |