public void ValidShow() { if (ValidateUI == null) { return; } ValidateUI.FailShow(); }
private void ValidPropertyChanged() { Source.SetValue(ValidationService.HasErrorPropertyKey, !IsValid); if (IsValid) { RemoveError(); } else { AddError(); if (!ValidationService.GetIsPause(Source)) { if (ValidateUI == null) { return; } ValidateUI.FailShow(); } } }