Beispiel #1
0
        internal void ExitEdit()
        {
            Debug.Assert(!Presenter.ScalarContainer.IsEditing);

            _snapshot       = null;
            _flushingErrors = null;
            Validate(false);
            _asyncErrors = ScalarValidationErrors.Empty;
            foreach (var asyncValidator in AsyncValidators)
            {
                asyncValidator.Reset();
            }
        }
Beispiel #2
0
 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());
 }