Example #1
0
 private void VerifyInsert(RowPresenter child)
 {
     if (child == null)
     {
         VerifyNoPendingEdit();
     }
     else
     {
         if (child.Parent != this)
         {
             throw new ArgumentException(DiagnosticMessages.RowPresenter_InvalidChildRow, nameof(child));
         }
         child.VerifyNoPendingEdit();
     }
 }