18 references to ProtectedItems
PresentationFramework (18)
MS\Internal\Data\CollectionViewGroupInternal.cs (15)
177ProtectedItems.Add(item); 188int localIndex = ProtectedItems.IndexOf(item); 210if (ProtectedItems.Count > 0) 212ProtectedItems.RemoveAt(localIndex); 235for (int i = 0, n = ProtectedItems.Count; i < n; ++i) 237CollectionViewGroupInternal subGroup = ProtectedItems[i] as CollectionViewGroupInternal; 245ProtectedItems.Clear(); 380int index = FindIndex(item, seed, comparer, low, ProtectedItems.Count); 384ProtectedItems.Insert(index, item); 409CollectionViewGroupInternal subgroup = ProtectedItems[index] as CollectionViewGroupInternal; 410object seed1 = (subgroup != null) ? subgroup.SeedItem : ProtectedItems[index]; 427if (_groupComparer.Compare(item, ProtectedItems[index]) < 0) 441int n = ProtectedItems.Count; 466if (localIndex < n && System.Windows.Controls.ItemsControl.EqualsEx(ProtectedItems[localIndex], list[fullIndex])) 507ProtectedItems.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);