2 writes to InternalList
PresentationFramework (2)
src\Framework\System\Windows\Data\BindingListCollectionView.cs (2)
53
InternalList
= list;
203
InternalList
= null;
48 references to InternalList
PresentationFramework (48)
src\Framework\System\Windows\Data\BindingListCollectionView.cs (48)
198
if (
InternalList
!= null &&
InternalList
.SupportsChangeNotification)
200
InternalList
.ListChanged -= new ListChangedEventHandler(OnListChanged);
250
if (
InternalList
.SupportsSorting)
276
return
InternalList
.SupportsSorting;
561
get { return !IsEditingItem &&
InternalList
.AllowNew; }
585
BindingOperations.AccessCollection(
InternalList
,
591
newItem =
InternalList
.AddNew();
675
ICancelAddNew ican =
InternalList
as ICancelAddNew;
678
BindingOperations.AccessCollection(
InternalList
,
703
base.OnCollectionChanged(
InternalList
, args);
722
ICancelAddNew ican =
InternalList
as ICancelAddNew;
725
BindingOperations.AccessCollection(
InternalList
,
883
get { return !IsEditingItem && !IsAddingNew &&
InternalList
.AllowRemove; }
921
BindingOperations.AccessCollection(
InternalList
,
928
if (index >=
InternalList
.Count || !System.Windows.Controls.ItemsControl.EqualsEx(item, GetItemAt(index)))
930
index =
InternalList
.IndexOf(item);
938
index =
InternalList
.IndexOf(item);
950
InternalList
.RemoveAt(index);
1017
BindingOperations.AccessCollection(
InternalList
,
1313
BindingOperations.AccessCollection(
InternalList
,
1340
BindingOperations.AccessCollection(
InternalList
,
1344
InternalList
.ApplySort(sorts[0].PropertyDescriptor, sorts[0].SortDirection);
1356
BindingOperations.AccessCollection(
InternalList
,
1359
InternalList
.RemoveSort();
1439
BindingOperations.AccessCollection(
InternalList
,
1464
_cachedList = new ArrayList(
InternalList
);
1474
foreach (object item in
InternalList
)
1483
_shadowList = new ArrayList(
InternalList
);
1573
_group.MoveWithinSubgroups(args.OldItems[0], null,
InternalList
, args.OldStartingIndex, args.NewStartingIndex);
1895
if (
InternalList
.SupportsChangeNotification)
1897
BindingOperations.AccessCollection(
InternalList
,
1900
InternalList
.ListChanged += new ListChangedEventHandler(OnListChanged);
1931
if (
InternalList
.Count == _cachedList.Count)
1935
Debug.Assert(_newItem ==
InternalList
[index], "unexpected item while committing AddNew");
1942
item =
InternalList
[index];
1945
if (
InternalList
.Count != _cachedList.Count)
1946
throw new InvalidOperationException(SR.Get(SRID.InconsistentBindingList,
InternalList
, args.ListChangedType));
1957
if (
InternalList
.Count != _cachedList.Count)
1958
throw new InvalidOperationException(SR.Get(SRID.InconsistentBindingList,
InternalList
, args.ListChangedType));
1994
Debug.Assert(item ==
InternalList
[index], "unexpected item while committing AddNew");
2000
item =
InternalList
[index];
2014
if (
InternalList
.Count != _cachedList.Count)
2015
throw new InvalidOperationException(SR.Get(SRID.InconsistentBindingList,
InternalList
, args.ListChangedType));
2023
item =
InternalList
[args.NewIndex];
2050
_newItemIndex =
InternalList
.IndexOf(_newItem);
2166
return
InternalList
;
2210
if ((itl =
InternalList
as ITypedList) != null)