17 references to ViewCount
PresentationFramework (17)
src\Framework\MS\Internal\Data\CompositeCollectionView.cs (17)
118
if (cc == null || cc.
ViewCount
!= 0) // single item or non-empty sub-collection
448
index += cc.
ViewCount
- 1;
471
_count += cc.
ViewCount
;
478
_count -= cc.
ViewCount
;
525
startingIndex += cc.
ViewCount
- 1;
538
_count -= oldCollectionContainer == null ? 1 : oldCollectionContainer.
ViewCount
;
539
_count += newCollectionContainer == null ? 1 : newCollectionContainer.
ViewCount
;
576
oldStartingIndex += cc.
ViewCount
- 1;
587
newStartingIndex += cc.
ViewCount
- 1;
724
indexModifier += cc.
ViewCount
;
917
index += cc.
ViewCount
; // flattened index
1001
int count = cc.
ViewCount
;
1041
else if (positionY < cc.
ViewCount
)
1083
count += cc.
ViewCount
;
1309
if (cc.
ViewCount
== 0) // if the collection was emptied out
1416
else if (cc.
ViewCount
> 0)
1418
positionY = cc.
ViewCount
- 1;