21 references to InternalCount
PresentationFramework (21)
System\Windows\Data\BindingListCollectionView.cs (21)
105
ArgumentOutOfRangeException.ThrowIfGreaterThan(position,
InternalCount
);
387
return
InternalCount
;
458
oldIndex =
InternalCount
- 1;
480
oldIndex =
InternalCount
- 1;
495
newIndex =
InternalCount
;
503
newIndex =
InternalCount
- 1;
636
position =
InternalCount
- 2;
786
fromIndex =
InternalCount
- 2;
1367
SetCurrent(null,
InternalCount
);
1383
if (newPosition <
InternalCount
&& (newItem = InternalItemAt(newPosition)) != NewItemPlaceholder)
1716
return
InternalCount
- 1;
1730
return
InternalCount
- 2;
1785
if (index ==
InternalCount
- 1)
1787
if (IsAddingNew && index ==
InternalCount
-2)
1845
get { return (0 <= CurrentPosition && CurrentPosition <
InternalCount
); }
1854
object proposedCurrentItem = (0 <= proposed && proposed <
InternalCount
) ? GetItemAt(proposed) : null;
1967
index =
InternalCount
- 1;
2058
if (
InternalCount
== 1)
2066
if (newPosition <
InternalCount
)
2074
SetCurrent(null,
InternalCount
);
2133
int lastPosition =
InternalCount
- 1; // OK if last is -1