13 references to ViewCount
PresentationFramework (13)
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (13)
309
if ((0 <= index) && (index <
ViewCount
))
378
return
ViewCount
;
389
return
ViewCount
== 0;
467
if (position < -1 || position >
ViewCount
)
534
if (_sort != null && _sort.Count > 0 &&
ViewCount
> 0)
551
_MoveCurrentToPosition(
ViewCount
);
646
return (0 <= CurrentPosition && CurrentPosition <
ViewCount
);
771
else if (position >=
ViewCount
)
773
SetCurrent(null,
ViewCount
);
787
if (
ViewCount
== 1)
795
if (newCurrentPosition <
ViewCount
)
803
SetCurrent(null,
ViewCount
);
830
int lastPosition =
ViewCount
- 1; // OK if last is -1