AngleSharp by Florian Rappl

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

.NET API 737,792 bytes

 HTMLFormControlElement

Represents the base class for all HTML form control elements.
public bool Autofocus { get; set; }

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

public bool Disabled { get; set; }

Gets or sets if the element is enabled or disabled.

public HTMLFormElement Form { get; }

Gets the associated HTML form element.

public NodeList Labels { get; }

Gets the list of assigned labels.

public string Name { get; set; }

Gets or sets the value of the name attribute.

public bool SupportsLabels { get; protected set; }

Gets if labels are supported.

public string ValidationMessage { get; }

Gets the current validation message.

public ValidityState Validity { get; }

Gets the current validation state of the current element.

public bool WillValidate { get; protected set; }

Gets a value if the current element validates.

protected virtual void Check(ValidityState state)

Checks the form control for validity.

public bool CheckValidity()

Checks the validity of the current element.

public void SetCustomValidity(string error)

Sets a custom validation error. If this is not the empty string, then the element is suffering from a custom validation error.