System\Windows\Data\ListCollectionView.cs (35)
59if (InternalList.Count == 0) // don't call virtual IsEmpty in ctor
65SetCurrent(InternalList[0], 0, 1);
337int i1 = InternalList.IndexOf(o1);
338int i2 = InternalList.IndexOf(o2);
889InternalList.Insert(toIndex, newItem);
1222LiveShapingList lsList = InternalList as LiveShapingList;
1232IList list = InternalList;
1888LiveShapingList lsList = InternalList as LiveShapingList;
1916InternalList.Insert(adjustedNewIndex - delta, newItem);
1950if (localOldIndex < InternalList.Count &&
1951System.Windows.Controls.ItemsControl.EqualsEx(ItemFrom(InternalList[localOldIndex]), oldItem))
1953InternalList.RemoveAt(localOldIndex);
1984InternalList[adjustedOldIndex - delta] = newItem;
2012if (localOldIndex < InternalList.Count &&
2013System.Windows.Controls.ItemsControl.EqualsEx(InternalList[localOldIndex], oldItem))
2018InternalList.Move(localOldIndex, localNewIndex);
2022InternalList[localNewIndex] = newItem;
2028InternalList.RemoveAt(localOldIndex);
2037InternalList.Insert(localNewIndex, newItem);
2204int index = InternalList.IndexOf(item);
2264return InternalList[index];
2275return (!IsGrouping) ? InternalList.Contains(item) : (_group.LeafIndexOf(item) >= 0);
2285return new PlaceholderAwareEnumerator(this, InternalList.GetEnumerator(), NewItemPlaceholderPosition, _newItem);
2352return delta + InternalList.Count;
2735index = InternalList.Search(item, ActiveComparer);
2742index = MatchingSearch(item, index, ilFull, InternalList);
2750index = InternalList.IndexOf(item);
2791while (fullIndex < index && localIndex < InternalList.Count)
2959ilc.ResetList(InternalList);
2963_group.ActiveComparer = new CollectionViewGroupInternal.IListComparer(InternalList);
2979LiveShapingList lsList = InternalList as LiveShapingList;
2981for (int k=0, n=InternalList.Count; k<n; ++k)
2983object item = InternalList[k];
3078_group.MoveWithinSubgroups(item, lsi, InternalList, oldIndex, newIndex);
3103LiveShapingList list = InternalList as LiveShapingList;