InputElement Class
The InputElement represents a wrapper that is associated with the HTMLInputElement.
Inheritance Hierarchy
SystemObject
  Aspose.Html.FormsFormElement
    Aspose.Html.FormsFormElementHTMLInputElement
      Aspose.Html.FormsInputElement

Namespace: Aspose.Html.Forms
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.9
Syntax
public class InputElement : FormElement<HTMLInputElement>

The InputElement type exposes the following members.

Properties
  NameDescription
Public propertyElementType
Gets the type of the element.
(Inherited from FormElement.)
Public propertyHtmlElement
Gets the HTMLElement.
(Inherited from FormElementT.)
Public propertyId
Represents the Id attribute of the input element.
(Overrides FormElementId.)
Public propertyList
Represents a list of options
Public propertyName
Represent the name attribute of the input element.
(Overrides FormElementName.)
Public propertyType
Type of the form control.
Public propertyValue
Represents the string value of the input element that is directly mapped to the 'value' attribute.
(Overrides FormElementValue.)
Methods
  NameDescription
Public methodAddFile
This method adds files to the Files collection which will be sent during the next web request.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCheckboxValue
Returns the checkedness state for the input element with the Checkbox type .
Public methodGetColorValue
This method is used to get the value as a color. This method is valid if only only type of the input element is "color"
Public methodGetDateTimeLocalValue
This method is used to get the value as a DateTime object object. This method is valid if only only type of the input element is "datetime-local"
Public methodGetDateValue
This method is used to get the value as a DateTime object. This method is valid if only only type of the input element is "date"
Public methodGetEmailValue
This method is used to get the value as an email string object. This method is valid if only only type of the input element is "email"
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetMonthValue
This method is used to get the value as a DateTime object. This method is valid if only only type of the input element is "month"
Public methodGetNumberValue
This method is used to get the value as a number. This method is valid if only only type of the input element is "number"
Public methodGetPasswordValue
This method is used to get the value as a password string object. This method is valid if only only type of the input element is "password"
Public methodGetRadioValue
Returns the checkedness state for the input element with the radio type.
Public methodGetTimeValue
This method is used to get the value as a TimeSpan object. This method is valid if only only type of the input element is "time"
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodGetUrlValue
This method is used to get the value as Url object. This method is valid if only only type of the input element is "url"
Public methodGetWeekValue
This method is used to get the value as a week string. This method is valid if only only type of the input element is "week"
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetCheckboxValue
Sets the checkedness state for the input elemen with the Checkbox type.
Public methodSetColorValue
This method is used to set color as a value for input element. This method is valid if only the type of the input element is "color"
Public methodSetDateTimeLocalValue
This method is used to set DateTime object as a value for input element. This method is valid if only the type of the input element is "datetime-local"
Public methodSetDateValue
This method is used to set DateTime object as a value for input element. This method is valid if only the type of the input element is "date"
Public methodSetEmailValue
This method is used to set email string as a value for input element. This method is valid if only the type of the input element is "email"
Public methodSetMonthValue
This method is used to set DateTime object as a value for input element. This method is valid if only the type of the input element is "month"
Public methodSetNumberValue
This method is used to set number as a value for input element. This method is valid if only the type of the input element is "number"
Public methodSetPasswordValue
This method is used to set password string as a value for input element. This method is valid if only the type of the input element is "password"
Public methodSetRadioValue
Sets the checkedness state for the input element with the radio type.
Public methodSetTimeValue
This method is used to set TimeSpan object as a value for input element. This method is valid if only the type of the input element is "time"
Public methodSetUrlValue
This method is used to set Url object as a value for input element. This method is valid if only the type of the input element is "url"
Public methodSetWeekValue
This method is used to set 'week' string as a value for input element. This method is valid if only the type of the input element is "week"
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also