17 references to ViewCount
PresentationFramework (17)
MS\Internal\Data\CompositeCollectionView.cs (17)
103if (cc == null || cc.ViewCount != 0) // single item or non-empty sub-collection 424index += cc.ViewCount - 1; 447_count += cc.ViewCount; 454_count -= cc.ViewCount; 501startingIndex += cc.ViewCount - 1; 514_count -= oldCollectionContainer == null ? 1 : oldCollectionContainer.ViewCount; 515_count += newCollectionContainer == null ? 1 : newCollectionContainer.ViewCount; 550oldStartingIndex += cc.ViewCount - 1; 561newStartingIndex += cc.ViewCount - 1; 697indexModifier += cc.ViewCount; 886index += cc.ViewCount; // flattened index 969int count = cc.ViewCount; 1009else if (positionY < cc.ViewCount) 1051count += cc.ViewCount; 1276if (cc.ViewCount == 0) // if the collection was emptied out 1383else if (cc.ViewCount > 0) 1385positionY = cc.ViewCount - 1;