11 writes to ItemCount
PresentationFramework (11)
System\Windows\Controls\ItemContainerGenerator.cs (11)
466
uib.
ItemCount
= ItemsInternal.Count;
1811
block.
ItemCount
-= count;
1812
newBlock.
ItemCount
+= count;
2473
++ uib.
ItemCount
;
2480
++ uib.
ItemCount
;
2488
ItemCount
= 1
2542
--block.
ItemCount
;
2660
--block.
ItemCount
;
2692
++ uib.
ItemCount
;
2699
++ uib.
ItemCount
;
2707
ItemCount
= 1
63 references to ItemCount
PresentationFramework (63)
System\Windows\Controls\ItemContainerGenerator.cs (63)
349
bool edgeR = (offsetR == blockR.
ItemCount
-1);
364
offsetT = blockT.
ItemCount
;
365
deltaCount = -blockT.
ItemCount
;
386
int itemCount = block.
ItemCount
;
392
if (block.
ItemCount
== 0)
398
int remaining = block.
ItemCount
- 1 - offsetR;
547
itemIndex += block.
ItemCount
;
699
index += startBlock.
ItemCount
;
703
index -= startBlock.
ItemCount
;
709
if (startOffset >= rib.
ItemCount
)
728
int endOffset = startBlock.
ItemCount
;
773
index += block.
ItemCount
;
785
endOffset = block.
ItemCount
;
833
count += block.
ItemCount
;
918
if (index < block.
ItemCount
)
936
index -= block.
ItemCount
;
1005
accumulatedCount += block.
ItemCount
;
1022
for (int offset=0; offset<rib.
ItemCount
; ++offset)
1038
blockIndex += block.
ItemCount
;
1546
else if (_cachedState.Offset == _cachedState.Block.
ItemCount
)
1642
itemCount += block.
ItemCount
;
1644
itemIndex += block.
ItemCount
;
1715
prevR.
ItemCount
< ItemBlock.BlockSize)
1718
newOffset = prevR.
ItemCount
;
1719
MoveItems(block, offset, 1, newBlock, newOffset, -prevR.
ItemCount
);
1720
MoveItems(block, 1, block.
ItemCount
, block, 0, +1);
1725
else if (offset == block.
ItemCount
- 1 &&
1727
nextR.
ItemCount
< ItemBlock.BlockSize)
1731
MoveItems(newBlock, 0, newBlock.
ItemCount
, newBlock, 1, -1);
1747
MoveItems(block, 1, block.
ItemCount
, block, 0, +1);
1751
else if (offset == block.
ItemCount
- 1)
1763
MoveItems(block, offset+1, block.
ItemCount
-offset-1, newUBlock, 0, offset+1);
1776
if (block != null && block != _itemMap && block.
ItemCount
== 0)
1783
MoveItems(block.Next, 0, block.Next.
ItemCount
, block.Prev, block.Prev.
ItemCount
, -block.Prev.
ItemCount
-1);
1805
else if (ribSrc != null && ribSrc.
ItemCount
> count)
2137
if (offsetFromBlockStart >= block.
ItemCount
)
2141
offsetFromBlockStart -= block.
ItemCount
;
2220
ItemsInternal[correctIndex + block.
ItemCount
- deletionOffset]);
2229
(ItemsInternal.Count == correctIndex + block.
ItemCount
- deletionOffset);
2242
correctIndex += block.
ItemCount
;
2456
while (block != _itemMap && offsetFromBlockStart >= block.
ItemCount
)
2458
offsetFromBlockStart -= block.
ItemCount
;
2460
unrealizedItemsSkipped = (block.ContainerCount > 0) ? 0 : unrealizedItemsSkipped + block.
ItemCount
;
2496
MoveItems(rib, offsetFromBlockStart, rib.
ItemCount
- offsetFromBlockStart, newBlock, 0, offsetFromBlockStart);
2541
MoveItems(block, offsetFromBlockStart + 1, block.
ItemCount
- offsetFromBlockStart - 1, block, offsetFromBlockStart, 0);
2659
MoveItems(block, offsetFromBlockStart + 1, block.
ItemCount
- offsetFromBlockStart - 1, block, offsetFromBlockStart, 0);
2670
while (block != _itemMap && offsetFromBlockStart >= block.
ItemCount
)
2672
offsetFromBlockStart -= block.
ItemCount
;
2680
position.Offset += block.
ItemCount
;
2714
MoveItems(rib, offsetFromBlockStart, rib.
ItemCount
- offsetFromBlockStart, newBlock, 0, offsetFromBlockStart);
2886
if (++state.Offset >=
ItemCount
)
2890
state.Count +=
ItemCount
;
2902
state.Offset = state.Block.
ItemCount
- 1;
2903
state.Count -= state.Block.
ItemCount
;
2913
if (count <
ItemCount
- state.Offset)
2919
count =
ItemCount
- state.Offset;
2922
state.Count +=
ItemCount
;
2943
state.Offset = state.Block.
ItemCount
- 1;
2944
state.Count -= state.Block.
ItemCount
;
2976
public override int ContainerCount { get { return
ItemCount
; } }
3048
for (int k=0; k <
ItemCount
; ++k)