Interface IDocument
- Namespace
- DotNetBrowser.Dom
- Assembly
- DotNetBrowser.dll
Represents DOM HTML document of the web page.
public interface IDocument : INode, IEventTarget, ISearchContext, IAutoDisposable
- Inherited Members
Properties
- BaseUri
Gets the
<base>
element's href attribute if one is present.
- DocumentElement
Gets the document HTML element that usually represents HTML tag.
- FocusedElement
Gets the currently focused element in the document.
Methods
- CreateElement(string)
Creates and returns a new DOM element with the specified tag name.
- CreateEvent(EventType, EventParameters)
Creates a DOM event instance of the specified type.
- CreateKeyDownEvent(KeyEventParameters)
Creates and returns a new
keyDown
IKeyEvent object with the given
.parameters
- CreateKeyPressEvent(KeyEventParameters)
Creates and returns a new
keyPress
IKeyEvent object with the given
.parameters
- CreateKeyUpEvent(KeyEventParameters)
Creates and returns a new
keyUp
IKeyEvent object with the given
.parameters
- CreateMouseEvent(EventType, MouseEventParameters)
Creates and returns a new IMouseEvent object with the given
andeventType
.parameters
- CreateTextNode(string)
Returns a new Text DOM node with TextNode type.