13 references to ViewCount
PresentationFramework (13)
MS\Internal\Controls\InnerItemCollectionView.cs (13)
307
if ((0 <= index) && (index <
ViewCount
))
376
return
ViewCount
;
387
return
ViewCount
== 0;
466
ArgumentOutOfRangeException.ThrowIfGreaterThan(position,
ViewCount
);
532
if (_sort != null && _sort.Count > 0 &&
ViewCount
> 0)
548
_MoveCurrentToPosition(
ViewCount
);
643
return (0 <= CurrentPosition && CurrentPosition <
ViewCount
);
768
else if (position >=
ViewCount
)
770
SetCurrent(null,
ViewCount
);
784
if (
ViewCount
== 1)
792
if (newCurrentPosition <
ViewCount
)
800
SetCurrent(null,
ViewCount
);
827
int lastPosition =
ViewCount
- 1; // OK if last is -1