17 references to ViewCount
PresentationFramework (17)
MS\Internal\Data\CompositeCollectionView.cs (17)
105
if (cc == null || cc.
ViewCount
!= 0) // single item or non-empty sub-collection
427
index += cc.
ViewCount
- 1;
450
_count += cc.
ViewCount
;
457
_count -= cc.
ViewCount
;
504
startingIndex += cc.
ViewCount
- 1;
517
_count -= oldCollectionContainer == null ? 1 : oldCollectionContainer.
ViewCount
;
518
_count += newCollectionContainer == null ? 1 : newCollectionContainer.
ViewCount
;
553
oldStartingIndex += cc.
ViewCount
- 1;
564
newStartingIndex += cc.
ViewCount
- 1;
701
indexModifier += cc.
ViewCount
;
894
index += cc.
ViewCount
; // flattened index
977
int count = cc.
ViewCount
;
1017
else if (positionY < cc.
ViewCount
)
1059
count += cc.
ViewCount
;
1284
if (cc.
ViewCount
== 0) // if the collection was emptied out
1391
else if (cc.
ViewCount
> 0)
1393
positionY = cc.
ViewCount
- 1;