2 overrides of ContainerCount
PresentationFramework (2)
System\Windows\Controls\ItemContainerGenerator.cs (2)
2973public override int ContainerCount { get { return 0; } } 2984public override int ContainerCount { get { return ItemCount; } }
24 references to ContainerCount
PresentationFramework (24)
System\Windows\Controls\ItemContainerGenerator.cs (24)
297if (offsetL < block.ContainerCount) 300offsetL -= block.ContainerCount; 311if (offsetR < block.ContainerCount) 314offsetR -= block.ContainerCount; 546if (index < block.ContainerCount) 555index -= block.ContainerCount; 1167for (int offset = 0; offset < block.ContainerCount; ++offset) 1190while (offset == block.ContainerCount) 1209for (offset = 0; offset < block.ContainerCount; ++offset) 1650while (index >= block.ContainerCount) 1653index -= block.ContainerCount; 1850offset = block.ContainerCount - 1; 1861while (offset == block.ContainerCount) 1883while (offset >= block.ContainerCount || block is UnrealizedItemBlock) 1903offset = block.ContainerCount - 1; 2152containerIndex += block.ContainerCount; 2158if (block.ContainerCount > 0) 2255containerIndex += block.ContainerCount; 2471position.Index += block.ContainerCount; 2472unrealizedItemsSkipped = (block.ContainerCount > 0) ? 0 : unrealizedItemsSkipped + block.ItemCount; 2508position.Index += block.ContainerCount; 2683if (block.ContainerCount > 0) 2685position.Index += block.ContainerCount; 2724position.Index += block.ContainerCount;