Validator
In the View, we can use the Validator control to show validation messages from the attributes:
<dot:Validator Value="{value: Email}"
ShowErrorMessageText="true" />
Tasks
- Add a
Validatorcontrol next to eachTextBox. - Make sure to set
ShowErrorMessageTexttotrue. - Bind their
Valueproperty to the same properties as their adjacentTextBoxTextproperty.
| Message | Line | Column | |
|---|---|---|---|
|
|