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