11 writes to ItemCount
PresentationFramework (11)
System\Windows\Controls\ItemContainerGenerator.cs (11)
473
uib.
ItemCount
= ItemsInternal.Count;
1821
block.
ItemCount
-= count;
1822
newBlock.
ItemCount
+= count;
2485
++ uib.
ItemCount
;
2492
++ uib.
ItemCount
;
2499
uib.
ItemCount
= 1;
2552
--block.
ItemCount
;
2670
--block.
ItemCount
;
2702
++ uib.
ItemCount
;
2709
++ uib.
ItemCount
;
2716
uib.
ItemCount
= 1;
63 references to ItemCount
PresentationFramework (63)
System\Windows\Controls\ItemContainerGenerator.cs (63)
356
bool edgeR = (offsetR == blockR.
ItemCount
-1);
371
offsetT = blockT.
ItemCount
;
372
deltaCount = -blockT.
ItemCount
;
393
int itemCount = block.
ItemCount
;
399
if (block.
ItemCount
== 0)
405
int remaining = block.
ItemCount
- 1 - offsetR;
554
itemIndex += block.
ItemCount
;
706
index += startBlock.
ItemCount
;
710
index -= startBlock.
ItemCount
;
716
if (startOffset >= rib.
ItemCount
)
735
int endOffset = startBlock.
ItemCount
;
780
index += block.
ItemCount
;
792
endOffset = block.
ItemCount
;
840
count += block.
ItemCount
;
925
if (index < block.
ItemCount
)
943
index -= block.
ItemCount
;
1012
accumulatedCount += block.
ItemCount
;
1029
for (int offset=0; offset<rib.
ItemCount
; ++offset)
1045
blockIndex += block.
ItemCount
;
1556
else if (_cachedState.Offset == _cachedState.Block.
ItemCount
)
1652
itemCount += block.
ItemCount
;
1654
itemIndex += block.
ItemCount
;
1725
prevR.
ItemCount
< ItemBlock.BlockSize)
1728
newOffset = prevR.
ItemCount
;
1729
MoveItems(block, offset, 1, newBlock, newOffset, -prevR.
ItemCount
);
1730
MoveItems(block, 1, block.
ItemCount
, block, 0, +1);
1735
else if (offset == block.
ItemCount
- 1 &&
1737
nextR.
ItemCount
< ItemBlock.BlockSize)
1741
MoveItems(newBlock, 0, newBlock.
ItemCount
, newBlock, 1, -1);
1757
MoveItems(block, 1, block.
ItemCount
, block, 0, +1);
1761
else if (offset == block.
ItemCount
- 1)
1773
MoveItems(block, offset+1, block.
ItemCount
-offset-1, newUBlock, 0, offset+1);
1786
if (block != null && block != _itemMap && block.
ItemCount
== 0)
1793
MoveItems(block.Next, 0, block.Next.
ItemCount
, block.Prev, block.Prev.
ItemCount
, -block.Prev.
ItemCount
-1);
1815
else if (ribSrc != null && ribSrc.
ItemCount
> count)
2149
if (offsetFromBlockStart >= block.
ItemCount
)
2153
offsetFromBlockStart -= block.
ItemCount
;
2232
ItemsInternal[correctIndex + block.
ItemCount
- deletionOffset]);
2241
(ItemsInternal.Count == correctIndex + block.
ItemCount
- deletionOffset);
2254
correctIndex += block.
ItemCount
;
2468
while (block != _itemMap && offsetFromBlockStart >= block.
ItemCount
)
2470
offsetFromBlockStart -= block.
ItemCount
;
2472
unrealizedItemsSkipped = (block.ContainerCount > 0) ? 0 : unrealizedItemsSkipped + block.
ItemCount
;
2506
MoveItems(rib, offsetFromBlockStart, rib.
ItemCount
- offsetFromBlockStart, newBlock, 0, offsetFromBlockStart);
2551
MoveItems(block, offsetFromBlockStart + 1, block.
ItemCount
- offsetFromBlockStart - 1, block, offsetFromBlockStart, 0);
2669
MoveItems(block, offsetFromBlockStart + 1, block.
ItemCount
- offsetFromBlockStart - 1, block, offsetFromBlockStart, 0);
2680
while (block != _itemMap && offsetFromBlockStart >= block.
ItemCount
)
2682
offsetFromBlockStart -= block.
ItemCount
;
2690
position.Offset += block.
ItemCount
;
2722
MoveItems(rib, offsetFromBlockStart, rib.
ItemCount
- offsetFromBlockStart, newBlock, 0, offsetFromBlockStart);
2894
if (++state.Offset >=
ItemCount
)
2898
state.Count +=
ItemCount
;
2910
state.Offset = state.Block.
ItemCount
- 1;
2911
state.Count -= state.Block.
ItemCount
;
2921
if (count <
ItemCount
- state.Offset)
2927
count =
ItemCount
- state.Offset;
2930
state.Count +=
ItemCount
;
2951
state.Offset = state.Block.
ItemCount
- 1;
2952
state.Count -= state.Block.
ItemCount
;
2984
public override int ContainerCount { get { return
ItemCount
; } }
3056
for (int k=0; k <
ItemCount
; ++k)