AngleSharp by Florian Rappl

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

.NET API 1,229,312 bytes

 IHtmlInputElement

Represents the input HTML element.
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.

string AlternativeText { get; set; }

Gets or sets the alternative text.

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).

bool Autofocus { get; set; }

Gets or sets the autofocus HTML attribute, which indicates whether the control should have input focus when the page loads.

string DefaultValue { get; set; }

Gets or sets the default value.

string DirectionName { get; set; }

Gets or sets the directionality of the form element.

int DisplayHeight { get; set; }

Gets or sets the display height of the input element.

int DisplayWidth { get; set; }

Gets or sets the display width of the input element.

IFileList Files { get; }

Gets a list of selected files.

Gets the associated HTML form element.

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.

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.

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.

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.

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.

bool IsChecked { get; set; }

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

bool IsDefaultChecked { get; set; }

Gets or sets

bool IsDisabled { get; set; }

Gets or sets if the textarea is enabled or disabled.

bool IsIndeterminate { get; set; }

Gets or sets if the state if indeterminate.

bool IsMultiple { get; set; }

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

bool IsReadOnly { get; set; }

Gets or sets if the field is read-only.

bool IsRequired { get; set; }

Gets or sets if the field is required.

INodeList Labels { get; }

Gets the list of assigned labels.

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.

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.

int MaxLength { get; set; }

Gets or sets the maxlength HTML attribute, indicating the maximum number of characters the user can enter. This constraint is evaluated only when the value changes.

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.

string Name { get; set; }

Gets or sets the name of the element.

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.

string Placeholder { get; set; }

Gets or sets the placeholder HTML attribute, containing a hint to the user about what to enter in the control.

string SelectionDirection { get; }

Gets the direction in which selection occurred. This is "forward" if selection was performed in the start-to-end direction of the current locale, or "backward" for the opposite direction.

int SelectionEnd { get; set; }

Gets or sets the index of the end of selected text. If no text is selected, contains the index of the character that follows the input cursor. On being set, the control behaves as if setSelectionRange() had been called with this as the second argument, and selectionStart as the first argument.

int SelectionStart { get; set; }

Gets or sets the index of the beginning of selected text. If no text is selected, contains the index of the character that follows the input cursor. On being set, the control behaves as if setSelectionRange() had been called with this as the first argument, and selectionEnd as the second argument.

int Size { get; set; }

Gets or sets the display size of the element.

string Source { get; set; }

Gets or sets the image source.

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.

string Type { get; set; }

Gets or sets the type of input control.

string Value { get; set; }

Gets or sets the value.

DateTime? ValueAsDate { get; set; }

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

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.

void Select(int selectionStart, int selectionEnd, string selectionDirection = null)

Selects a range of text, and sets selectionStart and selectionEnd. If either argument is greater than the length of the value, it is treated as pointing to the end of the value. If end is less than start, then both are treated as the value of end.

void SelectAll()

Selects the contents of the textarea.

void StepDown(int n = 1)

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

void StepUp(int n = 1)

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