Syntactic validation ensures that data entered by a user can be converted to the type required by the application. For example, when a user enters a date string into a TextBox
, the input fails syntactic validation if it cannot be converted to a date.
In most cases, the XAML data-binding system attends to syntactic validation, coercing values to and from source property types.
Note
The XAML data-binding system performs syntactic validation before assigning a value to a property.
18.188.218.157