IValidation
Implemented by elements that can be validated.
Gets the current validation message.
Gets the current validation state of the current element.
Gets a value if the current element validates.
bool CheckValidity()
Checks the validity of the current element.
Sets a custom validation error. If this is not the empty string,
then the element is suffering from a custom validation error.