18 references to ProtectedItems
PresentationFramework (18)
MS\Internal\Data\CollectionViewGroupInternal.cs (15)
178ProtectedItems.Add(item); 189int localIndex = ProtectedItems.IndexOf(item); 211if (ProtectedItems.Count > 0) 213ProtectedItems.RemoveAt(localIndex); 236for (int i = 0, n = ProtectedItems.Count; i < n; ++i) 238CollectionViewGroupInternal subGroup = ProtectedItems[i] as CollectionViewGroupInternal; 243ProtectedItems.Clear(); 375int index = FindIndex(item, seed, comparer, low, ProtectedItems.Count); 379ProtectedItems.Insert(index, item); 401CollectionViewGroupInternal subgroup = ProtectedItems[index] as CollectionViewGroupInternal; 402object seed1 = (subgroup != null) ? subgroup.SeedItem : ProtectedItems[index]; 419if (_groupComparer.Compare(item, ProtectedItems[index]) < 0) 433int n = ProtectedItems.Count; 458if (localIndex < n && System.Windows.Controls.ItemsControl.EqualsEx(ProtectedItems[localIndex], list[fullIndex])) 499ProtectedItems.Move(oldIndexLocal, newIndexLocal);
MS\Internal\Data\CollectionViewGroupRoot.cs (3)
141ProtectedItems.Insert(index, item); 152Debug.Assert(System.Windows.Controls.ItemsControl.EqualsEx(item, ProtectedItems[index]), "RemoveSpecialItem finds inconsistent data"); 161ProtectedItems.RemoveAt(index);