1 write to ActiveComparer
PresentationFramework (1)
System\Windows\Data\ListCollectionView.cs (1)
2891ActiveComparer = PrepareComparer(_customSort, _sort, static state => (ListCollectionView)state, this);
17 references to ActiveComparer
PresentationFramework (17)
System\Windows\Data\ListCollectionView.cs (17)
334if (ActiveComparer != null) 335return ActiveComparer.Compare(o1, o2); 1248else if (ActiveComparer != null) 1252if (localIndex > 0 && ActiveComparer.Compare(list[localIndex-1], editItem) > 0) 1255toIndex = list.Search(0, localIndex, editItem, ActiveComparer); 1259else if (localIndex < list.Count - 1 && ActiveComparer.Compare(editItem, list[localIndex+1]) > 0) 1262toIndex = list.Search(localIndex+1, list.Count-localIndex-1, editItem, ActiveComparer); 1812if (ActiveComparer != null && adjustedOldIndex == adjustedNewIndex) 2298get { return ActiveComparer != null || ActiveFilter != null || (IsGrouping && IsLiveGrouping == true); } 2577IList localList = IsLiveShaping ? (IList)(new LiveShapingList(this, GetLiveShapingFlags(), ActiveComparer)) 2599if (ActiveComparer != null) 2601localList.Sort(ActiveComparer); 2732else if (ActiveComparer != null) 2735index = InternalList.Search(item, ActiveComparer); 2949IComparer comparer = ActiveComparer; 3110if (ActiveComparer != null) 3183if (ActiveComparer != null)