1 write to _collectionView
PresentationFramework (1)
System\Windows\Controls\ItemCollection.cs (1)
1694
_collectionView
= view;
114 references to _collectionView
PresentationFramework (114)
System\Windows\Controls\ItemCollection.cs (114)
121
return
_collectionView
.MoveCurrentToFirst();
135
return
_collectionView
.MoveCurrentToNext();
149
return
_collectionView
.MoveCurrentToPrevious();
163
return
_collectionView
.MoveCurrentToLast();
178
return
_collectionView
.MoveCurrentTo(item);
193
return
_collectionView
.MoveCurrentToPosition(position);
212
return ((IEnumerable)
_collectionView
).GetEnumerator();
282
return
_collectionView
.Contains(containItem);
308
IndexedEnumerable.CopyTo(
_collectionView
, array, index);
328
return
_collectionView
.IndexOf(item);
350
if (
_collectionView
== _internalView)
356
return
_collectionView
.GetItemAt(index);
443
return
_collectionView
.PassesFilter(item);
451
if (
_collectionView
!= null)
453
if (
_collectionView
.NeedsRefresh)
455
_collectionView
.Refresh();
492
return
_collectionView
.Count;
508
return
_collectionView
.IsEmpty;
573
return (EnsureCollectionView()) ?
_collectionView
.NeedsRefresh : false;
605
if (
_collectionView
!= null)
608
CloneList(MySortDescriptions,
_collectionView
.SortDescriptions);
625
return (EnsureCollectionView()) ?
_collectionView
.CanSort : true;
645
return (EnsureCollectionView()) ?
_collectionView
.Filter : MyFilter;
650
if (
_collectionView
!= null)
651
_collectionView
.Filter = value;
663
return (EnsureCollectionView()) ?
_collectionView
.CanFilter : true;
675
return (EnsureCollectionView()) ?
_collectionView
.CanGroup : false;
691
if (
_collectionView
!= null)
694
CloneList(MyGroupDescriptions,
_collectionView
.GroupDescriptions);
711
return (EnsureCollectionView()) ?
_collectionView
.Groups : null;
722
Debug.Assert(_deferLevel == 0 ||
_collectionView
== null || _deferInnerRefresh != null);
727
if (_deferLevel == 0 &&
_collectionView
!= null)
729
_deferInnerRefresh =
_collectionView
.DeferRefresh();
817
return
_collectionView
.CurrentPosition;
833
return
_collectionView
.CurrentItem;
849
return
_collectionView
.IsCurrentAfterLast;
865
return
_collectionView
.IsCurrentBeforeFirst;
885
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
897
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
916
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
936
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
955
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
972
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
990
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1010
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1034
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1053
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1069
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1093
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1110
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1127
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1150
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1169
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1189
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1214
IEditableCollectionViewAddNewItem ani =
_collectionView
as IEditableCollectionViewAddNewItem;
1234
IEditableCollectionViewAddNewItem ani =
_collectionView
as IEditableCollectionViewAddNewItem;
1256
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1268
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1280
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1296
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1302
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1318
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1324
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1340
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1346
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1377
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
1410
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
1447
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
1474
IItemProperties iip =
_collectionView
as IItemProperties;
1559
get { return
_collectionView
; }
1566
if (
_collectionView
!= null) // disconnect from collectionView to cut extraneous events
1567
UnhookCollectionView(
_collectionView
);
1575
if (
_collectionView
!= null)
1577
HookCollectionView(
_collectionView
);
1594
if (
_collectionView
!= null)
1596
_collectionView
.GetCollectionChangedSources(level+1, format, sources);
1641
if (
_collectionView
== null && !IsUsingItemsSource && _internalView != null)
1659
HookCollectionView(
_collectionView
);
1661
return (
_collectionView
!= null);
1676
if (
_collectionView
== view)
1679
if (
_collectionView
!= null)
1683
UnhookCollectionView(
_collectionView
);
1697
if (
_collectionView
!= null)
1699
_deferInnerRefresh =
_collectionView
.DeferRefresh();
1705
HookCollectionView(
_collectionView
);
1710
raiseReset = !
_collectionView
.NeedsRefresh;
1743
if (
_collectionView
.CanSort)
1751
SortDescriptionCollection source = (IsSortingSet) ? MySortDescriptions :
_collectionView
.SortDescriptions;
1752
SortDescriptionCollection target = (IsSortingSet) ?
_collectionView
.SortDescriptions : MySortDescriptions;
1760
if (
_collectionView
.CanFilter && MyFilter != null)
1761
_collectionView
.Filter = MyFilter;
1763
if (
_collectionView
.CanGroup)
1771
ObservableCollection<GroupDescription> source = (IsGroupingSet) ? MyGroupDescriptions :
_collectionView
.GroupDescriptions;
1772
ObservableCollection<GroupDescription> target = (IsGroupingSet) ?
_collectionView
.GroupDescriptions : MyGroupDescriptions;
1780
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1882
IEditableCollectionView iev =
_collectionView
as IEditableCollectionView;
1922
Debug.Assert(sender ==
_collectionView
);
1928
Debug.Assert(sender ==
_collectionView
);
1955
Debug.Assert(
_collectionView
!= null);
1966
Debug.Assert(
_collectionView
== null || _deferInnerRefresh != null);
2010
if (
_collectionView
!= null &&
_collectionView
.CanSort)
2014
SynchronizeCollections<SortDescription>(e, MySortDescriptions,
_collectionView
.SortDescriptions);
2030
SynchronizeCollections<SortDescription>(e,
_collectionView
.SortDescriptions, MySortDescriptions);
2043
if (
_collectionView
!= null &&
_collectionView
.CanGroup)
2047
SynchronizeCollections<GroupDescription>(e, MyGroupDescriptions,
_collectionView
.GroupDescriptions);
2063
SynchronizeCollections<GroupDescription>(e,
_collectionView
.GroupDescriptions, MyGroupDescriptions);
2077
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
2096
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
2116
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
2135
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
2155
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
2174
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;