Property ValidationErrors
ValidationErrors
Gets the result of validating Value against the constraints expressed by the Input and the value of IsRequired.
Declaration
public IEnumerable<Exception> ValidationErrors { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Exception> | An array of errors. An empty array indicates the element's value is valid. The errors returned are a set of any of the following error types:
|
Remarks
The constraints depend on the type of Input. For example a FieldFormElement with an
input type of TextBoxFormInput may not be empty if the value of IsRequired is true
.
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.4 - 200.6 |
.NET | 200.4 - 200.6 |
.NET Windows | 200.4 - 200.6 |
.NET Android | 200.4 - 200.6 |
.NET iOS | 200.4 - 200.6 |
.NET Framework | 200.4 - 200.6 |
UWP | 200.4 - 200.6 |