Property ValidationErrors
ValidationErrors
Gets the results of validating the values of FieldFormElements in Elements against their constraints.
Declaration
public IDictionary<string, IEnumerable<Exception>> ValidationErrors { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Collections.Generic.IEnumerable<System.Exception>> | A Dictionary mapping from FieldName to errors resulting from validating field forms against their constraints. The errors returned for each key are a set of any of the following exception types:
|
Remarks
An empty dictionary indicates that all visible and editable field form element values are valid. Constraints are expressed by the FormInput and value of IsRequired of the element. The constraints depend on the type of FormInput. A PropertyChanged event for this property is raised when the validation errors of visible and editable Elements change. This includes validation errors arising from changes in the element's visibility or ability to be edited. This dictionary contains validation errors for visible and editable field form elements only. For other field form elements, use the ValidationErrors property.
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.4 - 200.8 |
.NET | 200.4 - 200.8 |
.NET Windows | 200.4 - 200.8 |
.NET Android | 200.4 - 200.8 |
.NET iOS | 200.4 - 200.8 |
.NET Framework | 200.4 - 200.8 |
UWP | 200.4 - 200.8 |