HtmlElement Properties
.NET Framework 4.5
The HtmlElement type exposes the following members.
| Name | Description | |
|---|---|---|
|
All | Gets an HtmlElementCollection of all elements underneath the current element. |
|
CanHaveChildren | Gets a value indicating whether this element can have child elements. |
|
Children | Gets an HtmlElementCollection of all children of the current element. |
|
ClientRectangle | Gets the bounds of the client area of the element in the HTML document. |
|
Document | Gets the HtmlDocument to which this element belongs. |
|
DomElement | Gets an unmanaged interface pointer for this element. |
|
Enabled | Gets or sets whether the user can input data into this element. |
|
FirstChild | Gets the next element below this element in the document tree. |
|
Id | Gets or sets a label by which to identify the element. |
|
InnerHtml | Gets or sets the HTML markup underneath this element. |
|
InnerText | Gets or sets the text assigned to the element. |
|
Name | Gets or sets the name of the element. |
|
NextSibling | Gets the next element at the same level as this element in the document tree. |
|
OffsetParent | Gets the element from which OffsetRectangle is calculated. |
|
OffsetRectangle | Gets the location of an element relative to its parent. |
|
OuterHtml | Gets or sets the current element's HTML code. |
|
OuterText | Gets or sets the current element's text. |
|
Parent | Gets the current element's parent element. |
|
ScrollLeft | Gets or sets the distance between the edge of the element and the left edge of its content. |
|
ScrollRectangle | Gets the dimensions of an element's scrollable region. |
|
ScrollTop | Gets or sets the distance between the edge of the element and the top edge of its content. |
|
Style | Gets or sets a comma-delimited list of styles for the current element. |
|
TabIndex | Gets or sets the location of this element in the tab order. |
|
TagName | Gets the name of the HTML tag. |