21 references to InternalCount
PresentationFramework (21)
System\Windows\Data\BindingListCollectionView.cs (21)
110
ArgumentOutOfRangeException.ThrowIfGreaterThan(position,
InternalCount
);
392
return
InternalCount
;
463
oldIndex =
InternalCount
- 1;
485
oldIndex =
InternalCount
- 1;
500
newIndex =
InternalCount
;
508
newIndex =
InternalCount
- 1;
641
position =
InternalCount
- 2;
791
fromIndex =
InternalCount
- 2;
1372
SetCurrent(null,
InternalCount
);
1388
if (newPosition <
InternalCount
&& (newItem = InternalItemAt(newPosition)) != NewItemPlaceholder)
1721
return
InternalCount
- 1;
1735
return
InternalCount
- 2;
1790
if (index ==
InternalCount
- 1)
1792
if (IsAddingNew && index ==
InternalCount
-2)
1850
get { return (0 <= CurrentPosition && CurrentPosition <
InternalCount
); }
1859
object proposedCurrentItem = (0 <= proposed && proposed <
InternalCount
) ? GetItemAt(proposed) : null;
1972
index =
InternalCount
- 1;
2063
if (
InternalCount
== 1)
2071
if (newPosition <
InternalCount
)
2079
SetCurrent(null,
InternalCount
);
2138
int lastPosition =
InternalCount
- 1; // OK if last is -1