ValidityStateFlags Class
https://html.spec.whatwg.org/multipage/custom-elements.html#validitystateflags
public sealed class ValidityStateFlagsConstructors
| Name | Description |
|---|---|
| ValidityStateFlags() |
ValidityStateFlags()
public ValidityStateFlags()No documentation is available.
Properties
| Name | Description |
|---|---|
| BadInput | Gets a value indicating whether the user provided input that cannot be converted to a value. |
| CustomError | Gets a value indicating whether a custom validity error message is set. |
| PatternMismatch | Gets a value indicating whether the value does not match the required pattern. |
| RangeOverflow | Gets a value indicating whether the value is greater than the maximum. |
| RangeUnderflow | Gets a value indicating whether the value is lower than the minimum. |
| StepMismatch | Gets a value indicating whether the value does not fit the allowed step. |
| TooLong | Gets a value indicating whether the value is longer than the maximum length. |
| TooShort | Gets a value indicating whether the value is shorter than the minimum length. |
| TypeMismatch | Gets a value indicating whether the value is not in the required syntax (such as an e-mail address or a URL). |
| ValueMissing | Gets a value indicating whether the control is required but has no value. |
BadInput
ElementInternals.csGets a value indicating whether the user provided input that cannot be converted to a value.
public bool BadInput { get; init; }CustomError
ElementInternals.csGets a value indicating whether a custom validity error message is set.
public bool CustomError { get; init; }PatternMismatch
ElementInternals.csGets a value indicating whether the value does not match the required pattern.
public bool PatternMismatch { get; init; }RangeOverflow
ElementInternals.csGets a value indicating whether the value is greater than the maximum.
public bool RangeOverflow { get; init; }RangeUnderflow
ElementInternals.csGets a value indicating whether the value is lower than the minimum.
public bool RangeUnderflow { get; init; }StepMismatch
ElementInternals.csGets a value indicating whether the value does not fit the allowed step.
public bool StepMismatch { get; init; }TooLong
ElementInternals.csGets a value indicating whether the value is longer than the maximum length.
public bool TooLong { get; init; }TooShort
ElementInternals.csGets a value indicating whether the value is shorter than the minimum length.
public bool TooShort { get; init; }TypeMismatch
ElementInternals.csGets a value indicating whether the value is not in the required syntax (such as an e-mail address or a URL).
public bool TypeMismatch { get; init; }ValueMissing
ElementInternals.csGets a value indicating whether the control is required but has no value.
public bool ValueMissing { get; init; }