18 references to ProtectedItems
PresentationFramework (18)
MS\Internal\Data\CollectionViewGroupInternal.cs (15)
179ProtectedItems.Add(item); 190int localIndex = ProtectedItems.IndexOf(item); 212if (ProtectedItems.Count > 0) 214ProtectedItems.RemoveAt(localIndex); 237for (int i = 0, n = ProtectedItems.Count; i < n; ++i) 239CollectionViewGroupInternal subGroup = ProtectedItems[i] as CollectionViewGroupInternal; 247ProtectedItems.Clear(); 382int index = FindIndex(item, seed, comparer, low, ProtectedItems.Count); 386ProtectedItems.Insert(index, item); 411CollectionViewGroupInternal subgroup = ProtectedItems[index] as CollectionViewGroupInternal; 412object seed1 = (subgroup != null) ? subgroup.SeedItem : ProtectedItems[index]; 429if (_groupComparer.Compare(item, ProtectedItems[index]) < 0) 443int n = ProtectedItems.Count; 468if (localIndex < n && System.Windows.Controls.ItemsControl.EqualsEx(ProtectedItems[localIndex], list[fullIndex])) 509ProtectedItems.Move(oldIndexLocal, newIndexLocal);
MS\Internal\Data\CollectionViewGroupRoot.cs (3)
144ProtectedItems.Insert(index, item); 155Debug.Assert(System.Windows.Controls.ItemsControl.EqualsEx(item, ProtectedItems[index]), "RemoveSpecialItem finds inconsistent data"); 164ProtectedItems.RemoveAt(index);