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