internal bool QueryEndEdit() { if (_rowValidation == null || Template.RowValidationMode == ValidationMode.Explicit) { return(true); } _rowValidation.ValidateCurrentRow(); var hasVisibleError = _rowValidation.HasVisibleError(CurrentRow); if (hasVisibleError) { FocusToRowInputError(); return(false); } var isValidating = _rowValidation.IsValidating; if (isValidating) { return(false); } if (DataPresenter != null) { return(DataPresenter.ConfirmEndEdit()); } return(true); }