11 writes to ItemCount
PresentationFramework (11)
System\Windows\Controls\ItemContainerGenerator.cs (11)
467
uib.
ItemCount
= ItemsInternal.Count;
1815
block.
ItemCount
-= count;
1816
newBlock.
ItemCount
+= count;
2479
++ uib.
ItemCount
;
2486
++ uib.
ItemCount
;
2493
uib.
ItemCount
= 1;
2546
--block.
ItemCount
;
2664
--block.
ItemCount
;
2696
++ uib.
ItemCount
;
2703
++ uib.
ItemCount
;
2710
uib.
ItemCount
= 1;
63 references to ItemCount
PresentationFramework (63)
System\Windows\Controls\ItemContainerGenerator.cs (63)
350
bool edgeR = (offsetR == blockR.
ItemCount
-1);
365
offsetT = blockT.
ItemCount
;
366
deltaCount = -blockT.
ItemCount
;
387
int itemCount = block.
ItemCount
;
393
if (block.
ItemCount
== 0)
399
int remaining = block.
ItemCount
- 1 - offsetR;
548
itemIndex += block.
ItemCount
;
700
index += startBlock.
ItemCount
;
704
index -= startBlock.
ItemCount
;
710
if (startOffset >= rib.
ItemCount
)
729
int endOffset = startBlock.
ItemCount
;
774
index += block.
ItemCount
;
786
endOffset = block.
ItemCount
;
834
count += block.
ItemCount
;
919
if (index < block.
ItemCount
)
937
index -= block.
ItemCount
;
1006
accumulatedCount += block.
ItemCount
;
1023
for (int offset=0; offset<rib.
ItemCount
; ++offset)
1039
blockIndex += block.
ItemCount
;
1550
else if (_cachedState.Offset == _cachedState.Block.
ItemCount
)
1646
itemCount += block.
ItemCount
;
1648
itemIndex += block.
ItemCount
;
1719
prevR.
ItemCount
< ItemBlock.BlockSize)
1722
newOffset = prevR.
ItemCount
;
1723
MoveItems(block, offset, 1, newBlock, newOffset, -prevR.
ItemCount
);
1724
MoveItems(block, 1, block.
ItemCount
, block, 0, +1);
1729
else if (offset == block.
ItemCount
- 1 &&
1731
nextR.
ItemCount
< ItemBlock.BlockSize)
1735
MoveItems(newBlock, 0, newBlock.
ItemCount
, newBlock, 1, -1);
1751
MoveItems(block, 1, block.
ItemCount
, block, 0, +1);
1755
else if (offset == block.
ItemCount
- 1)
1767
MoveItems(block, offset+1, block.
ItemCount
-offset-1, newUBlock, 0, offset+1);
1780
if (block != null && block != _itemMap && block.
ItemCount
== 0)
1787
MoveItems(block.Next, 0, block.Next.
ItemCount
, block.Prev, block.Prev.
ItemCount
, -block.Prev.
ItemCount
-1);
1809
else if (ribSrc != null && ribSrc.
ItemCount
> count)
2143
if (offsetFromBlockStart >= block.
ItemCount
)
2147
offsetFromBlockStart -= block.
ItemCount
;
2226
ItemsInternal[correctIndex + block.
ItemCount
- deletionOffset]);
2235
(ItemsInternal.Count == correctIndex + block.
ItemCount
- deletionOffset);
2248
correctIndex += block.
ItemCount
;
2462
while (block != _itemMap && offsetFromBlockStart >= block.
ItemCount
)
2464
offsetFromBlockStart -= block.
ItemCount
;
2466
unrealizedItemsSkipped = (block.ContainerCount > 0) ? 0 : unrealizedItemsSkipped + block.
ItemCount
;
2500
MoveItems(rib, offsetFromBlockStart, rib.
ItemCount
- offsetFromBlockStart, newBlock, 0, offsetFromBlockStart);
2545
MoveItems(block, offsetFromBlockStart + 1, block.
ItemCount
- offsetFromBlockStart - 1, block, offsetFromBlockStart, 0);
2663
MoveItems(block, offsetFromBlockStart + 1, block.
ItemCount
- offsetFromBlockStart - 1, block, offsetFromBlockStart, 0);
2674
while (block != _itemMap && offsetFromBlockStart >= block.
ItemCount
)
2676
offsetFromBlockStart -= block.
ItemCount
;
2684
position.Offset += block.
ItemCount
;
2716
MoveItems(rib, offsetFromBlockStart, rib.
ItemCount
- offsetFromBlockStart, newBlock, 0, offsetFromBlockStart);
2888
if (++state.Offset >=
ItemCount
)
2892
state.Count +=
ItemCount
;
2904
state.Offset = state.Block.
ItemCount
- 1;
2905
state.Count -= state.Block.
ItemCount
;
2915
if (count <
ItemCount
- state.Offset)
2921
count =
ItemCount
- state.Offset;
2924
state.Count +=
ItemCount
;
2945
state.Offset = state.Block.
ItemCount
- 1;
2946
state.Count -= state.Block.
ItemCount
;
2978
public override int ContainerCount { get { return
ItemCount
; } }
3050
for (int k=0; k <
ItemCount
; ++k)