/// <summary> /// Cancels the editing mode. /// </summary> public void CancelEdit() { if (!IsEditing) { throw new InvalidOperationException(DiagnosticMessages._VerifyIsEditing); } var elementManager = ElementManager; elementManager?.SuspendInvalidateView(); RowManager.CancelEdit(); elementManager?.ResumeInvalidateView(); }