17 references to ViewCount
PresentationFramework (17)
MS\Internal\Data\CompositeCollectionView.cs (17)
111
if (cc == null || cc.
ViewCount
!= 0) // single item or non-empty sub-collection
433
index += cc.
ViewCount
- 1;
456
_count += cc.
ViewCount
;
463
_count -= cc.
ViewCount
;
510
startingIndex += cc.
ViewCount
- 1;
523
_count -= oldCollectionContainer == null ? 1 : oldCollectionContainer.
ViewCount
;
524
_count += newCollectionContainer == null ? 1 : newCollectionContainer.
ViewCount
;
559
oldStartingIndex += cc.
ViewCount
- 1;
570
newStartingIndex += cc.
ViewCount
- 1;
707
indexModifier += cc.
ViewCount
;
900
index += cc.
ViewCount
; // flattened index
983
int count = cc.
ViewCount
;
1023
else if (positionY < cc.
ViewCount
)
1065
count += cc.
ViewCount
;
1290
if (cc.
ViewCount
== 0) // if the collection was emptied out
1397
else if (cc.
ViewCount
> 0)
1399
positionY = cc.
ViewCount
- 1;