1 write to _collectionView
PresentationFramework (1)
System\Windows\Controls\ItemCollection.cs (1)
1685
_collectionView
= view;
114 references to _collectionView
PresentationFramework (114)
System\Windows\Controls\ItemCollection.cs (114)
112
return
_collectionView
.MoveCurrentToFirst();
126
return
_collectionView
.MoveCurrentToNext();
140
return
_collectionView
.MoveCurrentToPrevious();
154
return
_collectionView
.MoveCurrentToLast();
169
return
_collectionView
.MoveCurrentTo(item);
184
return
_collectionView
.MoveCurrentToPosition(position);
203
return ((IEnumerable)
_collectionView
).GetEnumerator();
273
return
_collectionView
.Contains(containItem);
299
IndexedEnumerable.CopyTo(
_collectionView
, array, index);
319
return
_collectionView
.IndexOf(item);
341
if (
_collectionView
== _internalView)
347
return
_collectionView
.GetItemAt(index);
434
return
_collectionView
.PassesFilter(item);
442
if (
_collectionView
!= null)
444
if (
_collectionView
.NeedsRefresh)
446
_collectionView
.Refresh();
483
return
_collectionView
.Count;
499
return
_collectionView
.IsEmpty;
564
return (EnsureCollectionView()) ?
_collectionView
.NeedsRefresh : false;
596
if (
_collectionView
!= null)
599
CloneList(MySortDescriptions,
_collectionView
.SortDescriptions);
616
return (EnsureCollectionView()) ?
_collectionView
.CanSort : true;
636
return (EnsureCollectionView()) ?
_collectionView
.Filter : MyFilter;
641
if (
_collectionView
!= null)
642
_collectionView
.Filter = value;
654
return (EnsureCollectionView()) ?
_collectionView
.CanFilter : true;
666
return (EnsureCollectionView()) ?
_collectionView
.CanGroup : false;
682
if (
_collectionView
!= null)
685
CloneList(MyGroupDescriptions,
_collectionView
.GroupDescriptions);
702
return (EnsureCollectionView()) ?
_collectionView
.Groups : null;
713
Debug.Assert(_deferLevel == 0 ||
_collectionView
== null || _deferInnerRefresh != null);
718
if (_deferLevel == 0 &&
_collectionView
!= null)
720
_deferInnerRefresh =
_collectionView
.DeferRefresh();
808
return
_collectionView
.CurrentPosition;
824
return
_collectionView
.CurrentItem;
840
return
_collectionView
.IsCurrentAfterLast;
856
return
_collectionView
.IsCurrentBeforeFirst;
876
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
888
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
907
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
927
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
946
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
963
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
981
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1001
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1025
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1044
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1060
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1084
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1101
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1118
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1141
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1160
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1180
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1205
IEditableCollectionViewAddNewItem ani =
_collectionView
as IEditableCollectionViewAddNewItem;
1225
IEditableCollectionViewAddNewItem ani =
_collectionView
as IEditableCollectionViewAddNewItem;
1247
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1259
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1271
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1287
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1293
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1309
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1315
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1331
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1337
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1368
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
1401
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
1438
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
1465
IItemProperties iip =
_collectionView
as IItemProperties;
1550
get { return
_collectionView
; }
1557
if (
_collectionView
!= null) // disconnect from collectionView to cut extraneous events
1558
UnhookCollectionView(
_collectionView
);
1566
if (
_collectionView
!= null)
1568
HookCollectionView(
_collectionView
);
1585
if (
_collectionView
!= null)
1587
_collectionView
.GetCollectionChangedSources(level+1, format, sources);
1632
if (
_collectionView
== null && !IsUsingItemsSource && _internalView != null)
1650
HookCollectionView(
_collectionView
);
1652
return (
_collectionView
!= null);
1667
if (
_collectionView
== view)
1670
if (
_collectionView
!= null)
1674
UnhookCollectionView(
_collectionView
);
1688
if (
_collectionView
!= null)
1690
_deferInnerRefresh =
_collectionView
.DeferRefresh();
1696
HookCollectionView(
_collectionView
);
1701
raiseReset = !
_collectionView
.NeedsRefresh;
1734
if (
_collectionView
.CanSort)
1742
SortDescriptionCollection source = (IsSortingSet) ? MySortDescriptions :
_collectionView
.SortDescriptions;
1743
SortDescriptionCollection target = (IsSortingSet) ?
_collectionView
.SortDescriptions : MySortDescriptions;
1751
if (
_collectionView
.CanFilter && MyFilter != null)
1752
_collectionView
.Filter = MyFilter;
1754
if (
_collectionView
.CanGroup)
1762
ObservableCollection<GroupDescription> source = (IsGroupingSet) ? MyGroupDescriptions :
_collectionView
.GroupDescriptions;
1763
ObservableCollection<GroupDescription> target = (IsGroupingSet) ?
_collectionView
.GroupDescriptions : MyGroupDescriptions;
1771
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1873
IEditableCollectionView iev =
_collectionView
as IEditableCollectionView;
1913
Debug.Assert(sender ==
_collectionView
);
1919
Debug.Assert(sender ==
_collectionView
);
1946
Debug.Assert(
_collectionView
!= null);
1957
Debug.Assert(
_collectionView
== null || _deferInnerRefresh != null);
2001
if (
_collectionView
!= null &&
_collectionView
.CanSort)
2005
SynchronizeCollections<SortDescription>(e, MySortDescriptions,
_collectionView
.SortDescriptions);
2021
SynchronizeCollections<SortDescription>(e,
_collectionView
.SortDescriptions, MySortDescriptions);
2034
if (
_collectionView
!= null &&
_collectionView
.CanGroup)
2038
SynchronizeCollections<GroupDescription>(e, MyGroupDescriptions,
_collectionView
.GroupDescriptions);
2054
SynchronizeCollections<GroupDescription>(e,
_collectionView
.GroupDescriptions, MyGroupDescriptions);
2068
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
2087
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
2107
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
2126
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
2146
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
2165
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;