Method ReportErrorMinMaxLength
ReportErrorMinMaxLength(Action<string>?)
Reports an error if length of the Text property value is less than MinLength or greater than MaxLength.
public virtual bool ReportErrorMinMaxLength(Action<string>? errorEnumerator = null)
Parameters
Returns
- bool
true
if validation error was reported;false
if validation is ok and error was not reported.
Remarks
ReportValidatorError(bool, string?, Action<string>?) is used to report the error.