/// <summary> /// Cancels scalar editing mode. /// </summary> public void CancelEdit() { if (!IsEditing) { throw new InvalidOperationException(DiagnosticMessages._VerifyIsEditing); } _owner.SuspendInvalidateView(); for (int i = 0; i < Count; i++) { this[i].CancelEdit(); } IsEditing = false; _owner.OnCancelEdit(); _owner.ResumeInvalidateView(); }