2 overrides of ContainerCount
PresentationFramework (2)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (2)
2981
public override int
ContainerCount
{ get { return 0; } }
2992
public override int
ContainerCount
{ get { return ItemCount; } }
24 references to ContainerCount
PresentationFramework (24)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (24)
299
if (offsetL < block.
ContainerCount
)
302
offsetL -= block.
ContainerCount
;
313
if (offsetR < block.
ContainerCount
)
316
offsetR -= block.
ContainerCount
;
549
if (index < block.
ContainerCount
)
558
index -= block.
ContainerCount
;
1175
for (int offset = 0; offset < block.
ContainerCount
; ++offset)
1198
while (offset == block.
ContainerCount
)
1217
for (offset = 0; offset < block.
ContainerCount
; ++offset)
1658
while (index >= block.
ContainerCount
)
1661
index -= block.
ContainerCount
;
1858
offset = block.
ContainerCount
- 1;
1869
while (offset == block.
ContainerCount
)
1891
while (offset >= block.
ContainerCount
|| block is UnrealizedItemBlock)
1911
offset = block.
ContainerCount
- 1;
2160
containerIndex += block.
ContainerCount
;
2166
if (block.
ContainerCount
> 0)
2263
containerIndex += block.
ContainerCount
;
2479
position.Index += block.
ContainerCount
;
2480
unrealizedItemsSkipped = (block.
ContainerCount
> 0) ? 0 : unrealizedItemsSkipped + block.ItemCount;
2516
position.Index += block.
ContainerCount
;
2691
if (block.
ContainerCount
> 0)
2693
position.Index += block.
ContainerCount
;
2732
position.Index += block.
ContainerCount
;