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