public void ClearErrors() { if (_errors.Count == 0) return; _errors.Clear(); if (Errors.Count == 0) { OnPropertyChanged(nameof(HasErrors)); } }