1 write to _collectionView
PresentationFramework (1)
src\Framework\System\Windows\Controls\ItemCollection.cs (1)
1705
_collectionView
= view;
114 references to _collectionView
PresentationFramework (114)
src\Framework\System\Windows\Controls\ItemCollection.cs (114)
128
return
_collectionView
.MoveCurrentToFirst();
142
return
_collectionView
.MoveCurrentToNext();
156
return
_collectionView
.MoveCurrentToPrevious();
170
return
_collectionView
.MoveCurrentToLast();
185
return
_collectionView
.MoveCurrentTo(item);
200
return
_collectionView
.MoveCurrentToPosition(position);
219
return ((IEnumerable)
_collectionView
).GetEnumerator();
289
return
_collectionView
.Contains(containItem);
317
IndexedEnumerable.CopyTo(
_collectionView
, array, index);
337
return
_collectionView
.IndexOf(item);
360
if (
_collectionView
== _internalView)
367
return
_collectionView
.GetItemAt(index);
454
return
_collectionView
.PassesFilter(item);
462
if (
_collectionView
!= null)
464
if (
_collectionView
.NeedsRefresh)
466
_collectionView
.Refresh();
503
return
_collectionView
.Count;
519
return
_collectionView
.IsEmpty;
584
return (EnsureCollectionView()) ?
_collectionView
.NeedsRefresh : false;
616
if (
_collectionView
!= null)
619
CloneList(MySortDescriptions,
_collectionView
.SortDescriptions);
636
return (EnsureCollectionView()) ?
_collectionView
.CanSort : true;
656
return (EnsureCollectionView()) ?
_collectionView
.Filter : MyFilter;
661
if (
_collectionView
!= null)
662
_collectionView
.Filter = value;
674
return (EnsureCollectionView()) ?
_collectionView
.CanFilter : true;
686
return (EnsureCollectionView()) ?
_collectionView
.CanGroup : false;
702
if (
_collectionView
!= null)
705
CloneList(MyGroupDescriptions,
_collectionView
.GroupDescriptions);
722
return (EnsureCollectionView()) ?
_collectionView
.Groups : null;
733
Debug.Assert(_deferLevel == 0 ||
_collectionView
== null || _deferInnerRefresh != null);
738
if (_deferLevel == 0 &&
_collectionView
!= null)
740
_deferInnerRefresh =
_collectionView
.DeferRefresh();
828
return
_collectionView
.CurrentPosition;
844
return
_collectionView
.CurrentItem;
860
return
_collectionView
.IsCurrentAfterLast;
876
return
_collectionView
.IsCurrentBeforeFirst;
896
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
908
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
927
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
947
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
966
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
983
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1001
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1021
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1045
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1064
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1080
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1104
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1121
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1138
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1161
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1180
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1200
IEditableCollectionView ecv =
_collectionView
as IEditableCollectionView;
1225
IEditableCollectionViewAddNewItem ani =
_collectionView
as IEditableCollectionViewAddNewItem;
1245
IEditableCollectionViewAddNewItem ani =
_collectionView
as IEditableCollectionViewAddNewItem;
1267
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1279
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1291
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1307
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1313
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1329
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1335
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1351
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1357
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1388
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
1421
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
1458
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
1485
IItemProperties iip =
_collectionView
as IItemProperties;
1570
get { return
_collectionView
; }
1577
if (
_collectionView
!= null) // disconnect from collectionView to cut extraneous events
1578
UnhookCollectionView(
_collectionView
);
1586
if (
_collectionView
!= null)
1588
HookCollectionView(
_collectionView
);
1605
if (
_collectionView
!= null)
1607
_collectionView
.GetCollectionChangedSources(level+1, format, sources);
1652
if (
_collectionView
== null && !IsUsingItemsSource && _internalView != null)
1670
HookCollectionView(
_collectionView
);
1672
return (
_collectionView
!= null);
1687
if (
_collectionView
== view)
1690
if (
_collectionView
!= null)
1694
UnhookCollectionView(
_collectionView
);
1708
if (
_collectionView
!= null)
1710
_deferInnerRefresh =
_collectionView
.DeferRefresh();
1716
HookCollectionView(
_collectionView
);
1721
raiseReset = !
_collectionView
.NeedsRefresh;
1754
if (
_collectionView
.CanSort)
1762
SortDescriptionCollection source = (IsSortingSet) ? MySortDescriptions :
_collectionView
.SortDescriptions;
1763
SortDescriptionCollection target = (IsSortingSet) ?
_collectionView
.SortDescriptions : MySortDescriptions;
1771
if (
_collectionView
.CanFilter && MyFilter != null)
1772
_collectionView
.Filter = MyFilter;
1774
if (
_collectionView
.CanGroup)
1782
ObservableCollection<GroupDescription> source = (IsGroupingSet) ? MyGroupDescriptions :
_collectionView
.GroupDescriptions;
1783
ObservableCollection<GroupDescription> target = (IsGroupingSet) ?
_collectionView
.GroupDescriptions : MyGroupDescriptions;
1791
ICollectionViewLiveShaping cvls =
_collectionView
as ICollectionViewLiveShaping;
1893
IEditableCollectionView iev =
_collectionView
as IEditableCollectionView;
1930
Debug.Assert(sender ==
_collectionView
);
1936
Debug.Assert(sender ==
_collectionView
);
1963
Debug.Assert(
_collectionView
!= null);
1974
Debug.Assert(
_collectionView
== null || _deferInnerRefresh != null);
2018
if (
_collectionView
!= null &&
_collectionView
.CanSort)
2022
SynchronizeCollections<SortDescription>(e, MySortDescriptions,
_collectionView
.SortDescriptions);
2038
SynchronizeCollections<SortDescription>(e,
_collectionView
.SortDescriptions, MySortDescriptions);
2051
if (
_collectionView
!= null &&
_collectionView
.CanGroup)
2055
SynchronizeCollections<GroupDescription>(e, MyGroupDescriptions,
_collectionView
.GroupDescriptions);
2071
SynchronizeCollections<GroupDescription>(e,
_collectionView
.GroupDescriptions, MyGroupDescriptions);
2085
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
2104
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
2124
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
2143
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
2163
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;
2182
ICollectionViewLiveShaping icvls =
_collectionView
as ICollectionViewLiveShaping;