Oadm.Sdk.Client.Validation
Form validation with errors directly below the field.
Interfaces
Section titled “Interfaces”| Type | Description |
|---|---|
IFormFieldVisits |
A form view model that wants to know when the user leaves a field (FormField calls it on lost focus with the bound property’s name); ValidatingViewModel shows that field’s error then. |
Classes
Section titled “Classes”| Type | Description |
|---|---|
FormValidator |
Field validation of a form view model for INotifyDataErrorInfo: every rule reports on the property it belongs to, so Avalonia shows the message directly below that input (DataValidationErrors, inside ui:FormField). |
ValidatingViewModel |
Base class of every form view model (host and plugins): an ObservableObject that reports field errors through INotifyDataErrorInfo from the rules registered on ValidatingViewModel.Validation. |