21 references to InternalCount
PresentationFramework (21)
src\Framework\System\Windows\Data\BindingListCollectionView.cs (21)
116
if (position < -1 || position >
InternalCount
)
399
return
InternalCount
;
470
oldIndex =
InternalCount
- 1;
492
oldIndex =
InternalCount
- 1;
507
newIndex =
InternalCount
;
515
newIndex =
InternalCount
- 1;
648
position =
InternalCount
- 2;
798
fromIndex =
InternalCount
- 2;
1379
SetCurrent(null,
InternalCount
);
1395
if (newPosition <
InternalCount
&& (newItem = InternalItemAt(newPosition)) != NewItemPlaceholder)
1728
return
InternalCount
- 1;
1742
return
InternalCount
- 2;
1797
if (index ==
InternalCount
- 1)
1799
if (IsAddingNew && index ==
InternalCount
-2)
1857
get { return (0 <= CurrentPosition && CurrentPosition <
InternalCount
); }
1866
object proposedCurrentItem = (0 <= proposed && proposed <
InternalCount
) ? GetItemAt(proposed) : null;
1979
index =
InternalCount
- 1;
2070
if (
InternalCount
== 1)
2078
if (newPosition <
InternalCount
)
2086
SetCurrent(null,
InternalCount
);
2145
int lastPosition =
InternalCount
- 1; // OK if last is -1