1 write to ActiveComparer
PresentationFramework (1)
System\Windows\Data\ListCollectionView.cs (1)
2897ActiveComparer = PrepareComparer(_customSort, _sort, static state => (ListCollectionView)state, this);
17 references to ActiveComparer
PresentationFramework (17)
System\Windows\Data\ListCollectionView.cs (17)
340if (ActiveComparer != null) 341return ActiveComparer.Compare(o1, o2); 1254else if (ActiveComparer != null) 1258if (localIndex > 0 && ActiveComparer.Compare(list[localIndex-1], editItem) > 0) 1261toIndex = list.Search(0, localIndex, editItem, ActiveComparer); 1265else if (localIndex < list.Count - 1 && ActiveComparer.Compare(editItem, list[localIndex+1]) > 0) 1268toIndex = list.Search(localIndex+1, list.Count-localIndex-1, editItem, ActiveComparer); 1818if (ActiveComparer != null && adjustedOldIndex == adjustedNewIndex) 2304get { return ActiveComparer != null || ActiveFilter != null || (IsGrouping && IsLiveGrouping == true); } 2583IList localList = IsLiveShaping ? (IList)(new LiveShapingList(this, GetLiveShapingFlags(), ActiveComparer)) 2605if (ActiveComparer != null) 2607localList.Sort(ActiveComparer); 2738else if (ActiveComparer != null) 2741index = InternalList.Search(item, ActiveComparer); 2955IComparer comparer = ActiveComparer; 3116if (ActiveComparer != null) 3189if (ActiveComparer != null)