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