public void ClearValidationErrors() { if (validationErrors != null && validationErrors.Count > 0) { validationErrors.Clear(); } }