Click or drag to resize

IInputElement Interface

Represents the DOM element with <input> tag.

Namespace:  DotNetBrowser.Dom
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.3
Syntax
C#
public interface IInputElement : IFormControlElement, 
	IElement, INode, IEventTarget, IAutoDisposable, ISearchContext

The IInputElement type exposes the following members.

Properties
  NameDescription
Public propertyAttributeNodes
Gets a list that contains attribute nodes of the element. Each list entry represents an attribute node.
(Inherited from IElement.)
Public propertyAttributes
Gets a dictionary that contains attributes of the current element. Modifying this dictionary will lead to modifying the element attributes.
(Inherited from IElement.)
Public propertyBoundingClientRect
Gets the bounds of the element and its position relative to the top-left of the viewport of the current document.
(Inherited from IElement.)
Public propertyChecked
Gets or sets the checked attribute of the input DOM element with the type 'checkbox' or 'radio'.
Public propertyChildren
Gets the collection of the child nodes. Modifying this collection will lead to the DOM tree modification.
(Inherited from INode.)
Public propertyDocument
Gets the document instance containing this node.
(Inherited from INode.)
Public propertyEvents
Gets the DOM events that can be listened.
(Inherited from IEventTarget.)
Public propertyFile
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.
Public propertyFiles
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.
Public propertyForm
Gets the <form> element containing this control.
(Inherited from IFormControlElement.)
Public propertyFrame
Gets the frame containing this node.
(Inherited from INode.)
Public propertyInnerHtml
Gets or sets the inner HTML of the current element.
(Inherited from IElement.)
Public propertyInnerText
Gets or sets the inner text of the current element.
(Inherited from IElement.)
Public propertyIsCheckBox
Indicates whether the DOM element's type attribute has the 'checkbox' value.
Public propertyIsDisposed
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.)
Public propertyIsEmailField
Indicates whether the DOM element's type attribute has the 'email' value.
Public propertyIsEnabled
Indicates whether form control is enabled or disabled.
(Inherited from IFormControlElement.)
Public propertyIsFile
Indicates whether the DOM element's type attribute has the 'file' value.
Public propertyIsMultipleFile
Indicates whether the DOM element has both the type attribute with the 'file' value, and the multiple attribute, for example: <input type="file" multiple>
Public propertyIsPasswordField
Indicates whether the DOM element's type attribute has the 'password' value.
Public propertyIsRadioButton
Indicates whether the DOM element's type attribute has the 'radio' value.
Public propertyIsText
Indicates if this input element is a text field and the type attribute value of the input HTML element is 'number'.
Public propertyIsTextField
Indicates if the DOM element's type attribute has the 'text' value.
Public propertyNextSibling
Gets the next sibling node in the document tree.
(Inherited from INode.)
Public propertyNodeName
Gets the name of this node, depending on its NodeType.
(Inherited from INode.)
Public propertyNodeValue
Gets the value of this node, depending on its NodeType.
(Inherited from INode.)
Public propertyOuterHtml
Gets or sets the outer HTML of the current element.
(Inherited from IElement.)
Public propertyParent
Gets the parent node.
(Inherited from INode.)
Public propertyPreviousSibling
Gets the previous sibling node in the document tree.
(Inherited from INode.)
Public propertyTextContent
Gets or sets the text content of the node and its descendants.
(Inherited from INode.)
Public propertyType
Gets the type of this node.
(Inherited from INode.)
Public propertyValue
Gets or sets the form control value.
(Inherited from IFormControlElement.)
Public propertyXPath
Gets an XPath for the current Node.
(Inherited from INode.)
Top
Methods
  NameDescription
Public methodBlur
Removes focus from the current element.
(Inherited from IElement.)
Public methodClick
Simulates click on the current Node.
(Inherited from INode.)
Public methodCompareDocumentPosition
Compares position of the current node against another node in a DOM tree.
(Inherited from INode.)
Public methodDispatchEvent
Dispatches (sends) a particular DOM event to the current target.
(Inherited from IEventTarget.)
Public methodEvaluate
Evaluates an XPath expression.
(Inherited from INode.)
Public methodFocus
Gives focus to the current element (if it can be focused).
(Inherited from IElement.)
Public methodGetElementByClassName
Finds the first IElement object in the current search context by the given className.
(Inherited from ISearchContext.)
Public methodGetElementByCssSelector
Finds the first IElement object in the current search context by the given CSS selector.
(Inherited from ISearchContext.)
Public methodGetElementById
Finds the first IElement object in the current search context by the given id.
(Inherited from ISearchContext.)
Public methodGetElementByName
Finds the first IElement object in the current search context by the given name.
(Inherited from ISearchContext.)
Public methodGetElementByTagName
Finds the first IElement object in the current search context by the given tag name.
(Inherited from ISearchContext.)
Public methodGetElementsByClassName
Finds all IElement objects in the current search context by the given className.
(Inherited from ISearchContext.)
Public methodGetElementsByCssSelector
Finds all IElement objects in the current search context by the given cssSelector.
(Inherited from ISearchContext.)
Public methodGetElementsByName
Finds all IElement objects in the current search context by the given name.
(Inherited from ISearchContext.)
Public methodGetElementsByTagName
Finds all IElement objects in the current search context by the given tag name.
(Inherited from ISearchContext.)
Public methodScrollIntoView
Scrolls the element's parent container such that the element on which this method is called is visible to the user.
(Inherited from IElement.)
Top
Events
  NameDescription
Public eventDisposed
Occurs when the object has been disposed.
(Inherited from IAutoDisposable.)
Top
See Also