2 overrides of ContainerCount
PresentationFramework (2)
System\Windows\Controls\ItemContainerGenerator.cs (2)
2972public override int ContainerCount { get { return 0; } } 2983public 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; 2147containerIndex += block.ContainerCount; 2153if (block.ContainerCount > 0) 2250containerIndex += block.ContainerCount; 2466position.Index += block.ContainerCount; 2467unrealizedItemsSkipped = (block.ContainerCount > 0) ? 0 : unrealizedItemsSkipped + block.ItemCount; 2505position.Index += block.ContainerCount; 2680if (block.ContainerCount > 0) 2682position.Index += block.ContainerCount; 2723position.Index += block.ContainerCount;