/// <summary> /// Begins the editing mode. /// </summary> public void BeginEdit() { if (IsEditing) { return; } VerifyIsCurrent(); VerifyNoPendingEdit(); if (IsVirtual && RowManager.Template.VirtualRowPlacement == VirtualRowPlacement.Exclusive) { throw new InvalidOperationException(DiagnosticMessages.RowPresenter_BeginEditExclusiveVirtual); } var elementManager = ElementManager; elementManager?.SuspendInvalidateView(); RowManager.BeginEdit(); elementManager?.ResumeInvalidateView(); }