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