2 overrides of ContainerCount
PresentationFramework (2)
System\Windows\Controls\ItemContainerGenerator.cs (2)
2967public override int ContainerCount { get { return 0; } } 2978public override int ContainerCount { get { return ItemCount; } }
24 references to ContainerCount
PresentationFramework (24)
System\Windows\Controls\ItemContainerGenerator.cs (24)
291if (offsetL < block.ContainerCount) 294offsetL -= block.ContainerCount; 305if (offsetR < block.ContainerCount) 308offsetR -= block.ContainerCount; 540if (index < block.ContainerCount) 549index -= block.ContainerCount; 1161for (int offset = 0; offset < block.ContainerCount; ++offset) 1184while (offset == block.ContainerCount) 1203for (offset = 0; offset < block.ContainerCount; ++offset) 1644while (index >= block.ContainerCount) 1647index -= block.ContainerCount; 1844offset = block.ContainerCount - 1; 1855while (offset == block.ContainerCount) 1877while (offset >= block.ContainerCount || block is UnrealizedItemBlock) 1897offset = block.ContainerCount - 1; 2146containerIndex += block.ContainerCount; 2152if (block.ContainerCount > 0) 2249containerIndex += block.ContainerCount; 2465position.Index += block.ContainerCount; 2466unrealizedItemsSkipped = (block.ContainerCount > 0) ? 0 : unrealizedItemsSkipped + block.ItemCount; 2502position.Index += block.ContainerCount; 2677if (block.ContainerCount > 0) 2679position.Index += block.ContainerCount; 2718position.Index += block.ContainerCount;