13 references to ViewCount
PresentationFramework (13)
MS\Internal\Controls\InnerItemCollectionView.cs (13)
305
if ((0 <= index) && (index <
ViewCount
))
374
return
ViewCount
;
385
return
ViewCount
== 0;
464
ArgumentOutOfRangeException.ThrowIfGreaterThan(position,
ViewCount
);
530
if (_sort != null && _sort.Count > 0 &&
ViewCount
> 0)
546
_MoveCurrentToPosition(
ViewCount
);
641
return (0 <= CurrentPosition && CurrentPosition <
ViewCount
);
766
else if (position >=
ViewCount
)
768
SetCurrent(null,
ViewCount
);
782
if (
ViewCount
== 1)
790
if (newCurrentPosition <
ViewCount
)
798
SetCurrent(null,
ViewCount
);
825
int lastPosition =
ViewCount
- 1; // OK if last is -1