Interface IElement
- Namespace
- DotNetBrowser.Dom
- Assembly
- DotNetBrowser.dll
This interface is implemented by all INode implementations to support DOM event model.
public interface IElement : INode, IEventTarget, ISearchContext, IAutoDisposable
- Inherited Members
Properties
- AttributeNodes
Gets a list that contains attribute nodes of the element. Each list entry represents an attribute node.
- Attributes
Gets a dictionary that contains attributes of the current element. Modifying this dictionary will lead to modifying the element attributes.
- BoundingClientRect
Gets the bounds of the element and its position relative to the top-left of the viewport of the current document.
- InnerHtml
Gets or sets the inner HTML of the current element.
- InnerText
Gets or sets the inner text of the current element.
- OuterHtml
Gets or sets the outer HTML of the current element.
Methods
- Blur()
Removes focus from the current element.
- Focus()
Gives focus to the current element (if it can be focused).
- ScrollIntoView(AlignTo)
Scrolls the element's parent container such that the element on which this method is called is visible to the user.