IInputElement Interface |
Namespace: DotNetBrowser.Dom
public interface IInputElement : IFormControlElement, IElement, INode, IEventTarget, IAutoDisposable, ISearchContext
The IInputElement type exposes the following members.
Name | Description | |
---|---|---|
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.) | |
Checked |
Gets or sets the checked attribute of the input DOM element with the type
'checkbox' or 'radio'.
| |
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.) | |
Events |
Gets the DOM events that can be listened.
(Inherited from IEventTarget.) | |
File |
Gets or sets an absolute or relative path to a file if the current input DOM element
has the type attribute with the 'file' value.
| |
Files |
Gets or sets the collection of absolute or relative paths to files if the current input DOM element
has the type attribute with the 'file' value.
| |
Form |
Gets the <form> element containing this control.
(Inherited from IFormControlElement.) | |
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.) | |
IsCheckBox |
Indicates whether the DOM element's type attribute has the 'checkbox' value.
| |
IsDisposed |
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.) | |
IsEmailField |
Indicates whether the DOM element's type attribute has the 'email' value.
| |
IsEnabled |
Indicates whether form control is enabled or disabled.
(Inherited from IFormControlElement.) | |
IsFile |
Indicates whether the DOM element's type attribute has the 'file' value.
| |
IsMultipleFile |
Indicates whether the DOM element has both the type attribute with the
'file' value, and the multiple attribute, for example: <input type="file" multiple> | |
IsPasswordField |
Indicates whether the DOM element's type attribute has the 'password' value.
| |
IsRadioButton |
Indicates whether the DOM element's type attribute has the 'radio' value.
| |
IsText |
Indicates if this input element is a text field and
the type attribute value of the input HTML element is 'number'.
| |
IsTextField |
Indicates if the DOM element's type attribute has the 'text' 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.) | |
Value |
Gets or sets the form control value.
(Inherited from IFormControlElement.) | |
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.) | |
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.) |
Name | Description | |
---|---|---|
Disposed |
Occurs when the object has been disposed.
(Inherited from IAutoDisposable.) |