IFormElement Interface |
Namespace: DotNetBrowser.Dom
public interface IFormElement : IElement, INode, IEventTarget, IAutoDisposable, ISearchContext
The IFormElement type exposes the following members.
Name | Description | |
---|---|---|
Action |
Gets the 'action' attribute value.
| |
AttributeNodes |
Gets a list that contains attribute nodes of the element. Each list entry
represents an attribute node.
(Inherited from IElement.) | |
Attributes |
Gets a dictionary that contains attributes of the current element. Modifying this dictionary
will lead to modifying the element attributes.
(Inherited from IElement.) | |
BoundingClientRect |
Gets the bounds of the element and its position relative to the top-left of
the viewport of the current document.
(Inherited from IElement.) | |
Children |
Gets the collection of the child nodes. Modifying this collection will lead to the DOM tree modification.
(Inherited from INode.) | |
Controls |
Gets the collection of all control elements in the form.
| |
Document |
Gets the document instance containing this node.
(Inherited from INode.) | |
Events |
Gets the DOM events that can be listened.
(Inherited from IEventTarget.) | |
Frame |
Gets the frame containing this node.
(Inherited from INode.) | |
InnerHtml |
Gets or sets the inner HTML of the current element.
(Inherited from IElement.) | |
InnerText |
Gets or sets the inner text of the current element.
(Inherited from IElement.) | |
IsDisposed |
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.) | |
Method |
Gets the 'method' attribute value.
| |
Name |
Gets the 'name' attribute value.
| |
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.) | |
OuterHtml |
Gets or sets the outer HTML of the current element.
(Inherited from IElement.) | |
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 | |
---|---|---|
Blur |
Removes focus from the current element.
(Inherited from IElement.) | |
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.) | |
DispatchEvent |
Dispatches (sends) a particular DOM event to the current target.
(Inherited from IEventTarget.) | |
Evaluate |
Evaluates an XPath expression.
(Inherited from INode.) | |
Focus |
Gives focus to the current element (if it can be focused).
(Inherited from IElement.) | |
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.) | |
Reset |
Restores the form elements' default values. It performs the same action as a reset button.
| |
ScrollIntoView |
Scrolls the element's parent container such that the element on which this method is called
is visible to the user.
(Inherited from IElement.) | |
Submit |
Submits the form. It performs the same action as a submit button.
|
Name | Description | |
---|---|---|
Disposed |
Occurs when the object has been disposed.
(Inherited from IAutoDisposable.) |