The InputElement type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
InputElement(IntPtr, Boolean) |
For internal use only. Of no interest to the user.
| |
InputElement(String, String) |
Initialises a new instance of the InputElement class, with the specified name and value attributes.
| |
InputElement(String, String, String) |
Initialises a new instance of the InputElement class, with the specified name and value
attributes, and encoded with the specified character encoding.
| |
InputElement(String, String, Encoding) |
Initialises a new instance of the InputElement class, with the specified name and value
attributes, and encoded with the specified character encoding.
|
Methods
Name | Description | |
---|---|---|
Clone |
Initialises a new instance of the InputElement class, which is a copy of the specified InputElement.
(Overrides HtmlElement Clone .) | |
Dispose | Releases all resources used by the InputElement (Overrides HtmlElement Dispose .) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAttribute |
Gets the value of the specified attribute,
or an empty string if the attribute is not contained within this HTML element.
(Inherited from HtmlElement.) | |
getCPtr |
For internal use only. Of no interest to the user.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasAttribute |
Determines whether this HTML element contains the specified attribute.
(Inherited from HtmlElement.) | |
MakeFrom |
For internal use only. Of no interest to the user.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveAttribute |
Removes an attribute from this HTML element. This method has no effect if the attribute does not exist.
(Inherited from HtmlElement.) | |
SetAttribute(String) |
Sets the value of the specified attribute to an empty string.
(Inherited from HtmlElement.) | |
SetAttribute(String, String) |
Sets the value of the specified attribute. The attribute will be added if it does not already exist.
(Inherited from HtmlElement.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
AfterEndTagPosition |
Gets the character offset into the HTML document at which the last character
(not including < > tag characters) in this HTML element appears.
(Inherited from HtmlElement.) | |
AfterStartTagPosition |
Gets the character offset into the HTML document at which the 1st character
(not including < > tag characters) in this HTML element appears.
(Inherited from HtmlElement.) | |
Attributes |
Gets all the attributes contained in this HtmlElement as an IDictionary
of attribute names to values.
(Inherited from HtmlElement.) | |
CharEncoding |
Gets or sets the character encoding that is used to decode the data contained
in this HtmlElement, for example "UTF-8".
(Inherited from HtmlElement.) | |
Checked |
Gets or sets a value that indicates whether the "checked" attribute has been set for this InputElement.
This method is equivalent to HasAttribute("checked").
| |
Content |
Gets or sets the content of this HTML element. This includes everything between the HTML tags, but
excludes the tags themselves and any attributes.
(Inherited from HtmlElement.) | |
ContentPosition |
Gets the character offset into the HTML document at which this HTML element's content starts.
(Inherited from HtmlElement.) | |
Disabled |
Gets or sets a value that indicates whether this HTML element has been disabled.
(Inherited from HtmlElement.) | |
Id |
Gets or sets the value of the "id" attribute for this HTML element.
(Inherited from HtmlElement.) | |
IsSuccessfulControl |
Gets a value that indicates whether this InputElement represents a successful control.
(Overrides HtmlElement IsSuccessfulControl.) | |
Name |
Gets or sets the value of the "name" attribute for this HTML element.
(Inherited from HtmlElement.) | |
Submitted |
Gets or sets a value that indicates whether this InputElement has been submitted.
For example, a button is submitted when it is pressed.
| |
Tag |
Gets the tag name of this HTML element.
(Inherited from HtmlElement.) | |
Type |
Gets the type of this InputElement.
| |
Value |
Gets or sets the value of the "value" attribute for this HTML element.
(Inherited from HtmlElement.) |
See Also