13 references to ViewCount
PresentationFramework (13)
MS\Internal\Controls\InnerItemCollectionView.cs (13)
306
if ((0 <= index) && (index <
ViewCount
))
375
return
ViewCount
;
386
return
ViewCount
== 0;
465
ArgumentOutOfRangeException.ThrowIfGreaterThan(position,
ViewCount
);
531
if (_sort != null && _sort.Count > 0 &&
ViewCount
> 0)
547
_MoveCurrentToPosition(
ViewCount
);
642
return (0 <= CurrentPosition && CurrentPosition <
ViewCount
);
767
else if (position >=
ViewCount
)
769
SetCurrent(null,
ViewCount
);
783
if (
ViewCount
== 1)
791
if (newCurrentPosition <
ViewCount
)
799
SetCurrent(null,
ViewCount
);
826
int lastPosition =
ViewCount
- 1; // OK if last is -1