AngleSharp by Florian Rappl

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

.NET API 997,888 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 IHtmlFormElement Form { get; }

Gets the associated HTML form element.

public bool IsDisabled { get; set; }

Gets or sets if the element is enabled or disabled.

public INodeList 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; }

Gets if labels are supported.

public string ValidationMessage { get; }

Gets the current validation message.

public IValidityState 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(IValidityState 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.