AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.6.0" />

.NET API 844,288 bytes

 HTMLInputElement

Represents an HTML input element.
public enum InputType

An enumeration with possible input types.

public string Accept { get; set; }

Gets or sets the accept HTML attribute, containing comma-separated list of file types accepted by the server when type is file.

public Alignment Align { get; set; }

Gets or sets the alignment of the element.

public string AlternativeText { get; set; }

Gets or sets the alt HTML attribute, containing alternative text to use when type is image.

public string Autocomplete { get; set; }

Gets or sets the autocomplete HTML attribute, indicating whether the value of the control can be automatically completed by the browser. Ignored if the value of the type attribute is hidden, checkbox, radio, file, or a button type (button, submit, reset, image).

public int DisplayHeight { get; set; }

Gets or sets the height HTML attribute, which defines the height of the image displayed for the button, if the value of type is image.

public int DisplayWidth { get; set; }

Gets or sets the width HTML attribute, which defines the width of the image displayed for the button, if the value of type is image.

public IFileList Files { get; }

Gets a list of selected files.

public string FormAction { get; set; }

Gets or sets the URI of a resource that processes information submitted by the button. If specified, this attribute overrides the action attribute of the form element that owns this element.

public string FormEncType { get; set; }

Gets or sets the type of content that is used to submit the form to the server. If specified, this attribute overrides the enctype attribute of the form element that owns this element.

public string FormMethod { get; set; }

Gets or sets the HTTP method that the browser uses to submit the form. If specified, this attribute overrides the method attribute of the form element that owns this element.

public bool FormNoValidate { get; set; }

Gets or sets that the form is not to be validated when it is submitted. If specified, this attribute overrides the enctype attribute of the form element that owns this element.

public string FormTarget { get; set; }

Gets or sets A name or keyword indicating where to display the response that is received after submitting the form. If specified, this attribute overrides the target attribute of the form element that owns this element.

public bool IsChecked { get; set; }

Gets or sets if the input element is checked or not.

public bool IsDefaultChecked { get; set; }

Gets or sets

public bool IsIndeterminate { get; set; }

Gets or sets if the state if indeterminate.

public bool IsMultiple { get; set; }

Gets the multiple HTML attribute, whichindicates whether multiple items can be selected.

public IHtmlElement List { get; }

Gets the datalist element in the same document. Only options that are valid values for this input element will be displayed. This attribute is ignored when the type attribute's value is hidden, checkbox, radio, file, or a button type.

public string Maximum { get; set; }

Gets or sets max HTML attribute, containing the maximum (numeric or date-time) value for this item, which must not be less than its minimum (min attribute) value.

public string Minimum { get; set; }

Gets or sets the min HTML attribute, containing the minimum (numeric or date-time) value for this item, which must not be greater than its maximum (max attribute) value.

public string Pattern { get; set; }

Gets or sets the pattern HTML attribute, containing a regular expression that the control's value is checked against. The pattern must match the entire value, not just some subset. This attribute applies when the value of the type attribute is text, search, tel, url or email; otherwise it is ignored.

public int Size { get; set; }

Gets or sets the size HTML attribute, containing size of the control. This value is in pixels unless the value of type is text or password, in which case, it is an integer number of characters. Applies only when type is set to text, search, tel, url, email, or password; otherwise it is ignored.

public string Source { get; set; }

Gets or sets the src HTML attribute, which specifies a URI for the location of an image to display on the graphical submit button, if the value of type is image; otherwise it is ignored.

public string Step { get; set; }

Gets or sets the step HTML attribute, which works with min and max to limit the increments at which a numeric or date-time value can be set. It can be the string any or a positive floating point number. If this is not set to any, the control accepts only values at multiples of the step value greater than the minimum.

public string Type { get; set; }

Gets or sets the type of the input field.

public string UseMap { get; set; }

Gets or sets a client-side image map.

public DateTime? ValueAsDate { get; set; }

Gets or sets the value of the element, interpreted as a date, or null if conversion is not possible.

public double ValueAsNumber { get; set; }

Gets or sets the value of the element, interpreted as one of the following in order: 1.) Time value 2.) Number 3.) otherwise NaN.

public void StepDown(int n = 1)

Decrements the value by (step * n), where n defaults to 1 if not specified.

public void StepUp(int n = 1)

Increments the value by (step * n), where n defaults to 1 if not specified.