PostValidation or typed validation is the process of validating the typed value after parsing, after the input string has been converted to the DataType. Input provides the PostValidation class for validation rules applied after after converting the string entered by the user to the DataType.
PostValidation allows you to validate the typed Value entered by the user.
The PostValidation class allows you to:
You can even specify multiple intervals of allowed values. The intervals are defined in the Intervals property where you specify minimum and maximum values for each interval, and also whether minimum and maximum values are used or ignored, and whether or not the inequality is strict (minimum/maximum value included).
To distinguish between declarative and programmatic validation, use the PostValidation property with two possible values: ValuesAndIntervals and ValidatingEvent. Note that PostValidatingEvent disables automatic validation of values and intervals. Call the ValidateValuesAndIntervals method from the event code if you want to combine event code with values and intervals validation.