1 write to ActiveComparer
PresentationFramework (1)
src\Framework\System\Windows\Data\ListCollectionView.cs (1)
2910
ActiveComparer
= ListCollectionView.PrepareComparer(_customSort, _sort, () => { return this; });
17 references to ActiveComparer
PresentationFramework (17)
src\Framework\System\Windows\Data\ListCollectionView.cs (17)
348
if (
ActiveComparer
!= null)
349
return
ActiveComparer
.Compare(o1, o2);
1262
else if (
ActiveComparer
!= null)
1266
if (localIndex > 0 &&
ActiveComparer
.Compare(list[localIndex-1], editItem) > 0)
1269
toIndex = list.Search(0, localIndex, editItem,
ActiveComparer
);
1273
else if (localIndex < list.Count - 1 &&
ActiveComparer
.Compare(editItem, list[localIndex+1]) > 0)
1276
toIndex = list.Search(localIndex+1, list.Count-localIndex-1, editItem,
ActiveComparer
);
1827
if (
ActiveComparer
!= null && adjustedOldIndex == adjustedNewIndex)
2315
get { return
ActiveComparer
!= null || ActiveFilter != null || (IsGrouping && IsLiveGrouping == true); }
2596
IList localList = IsLiveShaping ? (IList)(new LiveShapingList(this, GetLiveShapingFlags(),
ActiveComparer
))
2618
if (
ActiveComparer
!= null)
2620
localList.Sort(
ActiveComparer
);
2751
else if (
ActiveComparer
!= null)
2754
index = InternalList.Search(item,
ActiveComparer
);
2968
IComparer comparer =
ActiveComparer
;
3129
if (
ActiveComparer
!= null)
3202
if (
ActiveComparer
!= null)