internal void ExitEdit() { Debug.Assert(!Presenter.ScalarContainer.IsEditing); _snapshot = null; _flushingErrors = null; Validate(false); _asyncErrors = ScalarValidationErrors.Empty; foreach (var asyncValidator in AsyncValidators) { asyncValidator.Reset(); } }
internal void ExitEdit(RowPresenter rowAfterEditing) { Debug.Assert(!CurrentRow.IsEditing); if (_progress != null && rowAfterEditing != null) { Validate(rowAfterEditing, false); } _snapshot = null; _flushingErrors = null; if (rowAfterEditing != null) { ClearAsyncErrors(rowAfterEditing); } Template.RowAsyncValidators.ForEach(x => x.Reset()); }