title: Issue with DevExpress XtraTabControl
body: <p>I am having a DevExpress XtraTabControl with 3 XtraTabPages.
  I am trying to remove a Tabpage based on a condition and after removing for the last iteration,it is getting error.</p>
  
  <p>My Code is </p>
  
  <pre><code>foreach (DevExpress.XtraTab.XtraTabPage ptp in tabContactsDetails.TabPages)
              {
                  if (tabContactsDetails.TabPages.Contains(ptp))
                  {
                      if (ptp.Name == "tabPTP")
                      {
                          if (maxid == String.Empty || maxid == null || maxid == "lblHiddenDebtorID")
                          {
                              tabContactsDetails.TabPages.Remove(ptp);                                
                          }
                          else
                          {
  
                          }
                      }
                  }
              }
  </code></pre>
  
  <p>and I am getting an error like </p>
  
  <pre><code>Collection was modified; enumeration operation may not execute.
  </code></pre>