18 references to ProtectedItems
PresentationFramework (18)
src\Framework\MS\Internal\Data\CollectionViewGroupInternal.cs (15)
182ProtectedItems.Add(item); 193int localIndex = ProtectedItems.IndexOf(item); 215if (ProtectedItems.Count > 0) 217ProtectedItems.RemoveAt(localIndex); 240for (int i=0, n=ProtectedItems.Count; i < n; ++i) 242CollectionViewGroupInternal subGroup = ProtectedItems[i] as CollectionViewGroupInternal; 250ProtectedItems.Clear(); 385int index = FindIndex(item, seed, comparer, low, ProtectedItems.Count); 389ProtectedItems.Insert(index, item); 414CollectionViewGroupInternal subgroup = ProtectedItems[index] as CollectionViewGroupInternal; 415object seed1 = (subgroup != null) ? subgroup.SeedItem : ProtectedItems[index]; 432if (_groupComparer.Compare(item, ProtectedItems[index]) < 0) 446int n = ProtectedItems.Count; 471if (localIndex < n && System.Windows.Controls.ItemsControl.EqualsEx(ProtectedItems[localIndex], list[fullIndex])) 512ProtectedItems.Move(oldIndexLocal, newIndexLocal);
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (3)
149ProtectedItems.Insert(index, item); 160Debug.Assert(System.Windows.Controls.ItemsControl.EqualsEx(item, ProtectedItems[index]), "RemoveSpecialItem finds inconsistent data"); 169ProtectedItems.RemoveAt(index);