11 writes to ItemCount
PresentationFramework (11)
System\Windows\Controls\ItemContainerGenerator.cs (11)
467
uib.
ItemCount
= ItemsInternal.Count;
1812
block.
ItemCount
-= count;
1813
newBlock.
ItemCount
+= count;
2476
++ uib.
ItemCount
;
2483
++ uib.
ItemCount
;
2491
ItemCount
= 1
2545
--block.
ItemCount
;
2663
--block.
ItemCount
;
2695
++ uib.
ItemCount
;
2702
++ uib.
ItemCount
;
2710
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
;
1547
else if (_cachedState.Offset == _cachedState.Block.
ItemCount
)
1643
itemCount += block.
ItemCount
;
1645
itemIndex += block.
ItemCount
;
1716
prevR.
ItemCount
< ItemBlock.BlockSize)
1719
newOffset = prevR.
ItemCount
;
1720
MoveItems(block, offset, 1, newBlock, newOffset, -prevR.
ItemCount
);
1721
MoveItems(block, 1, block.
ItemCount
, block, 0, +1);
1726
else if (offset == block.
ItemCount
- 1 &&
1728
nextR.
ItemCount
< ItemBlock.BlockSize)
1732
MoveItems(newBlock, 0, newBlock.
ItemCount
, newBlock, 1, -1);
1748
MoveItems(block, 1, block.
ItemCount
, block, 0, +1);
1752
else if (offset == block.
ItemCount
- 1)
1764
MoveItems(block, offset+1, block.
ItemCount
-offset-1, newUBlock, 0, offset+1);
1777
if (block != null && block != _itemMap && block.
ItemCount
== 0)
1784
MoveItems(block.Next, 0, block.Next.
ItemCount
, block.Prev, block.Prev.
ItemCount
, -block.Prev.
ItemCount
-1);
1806
else if (ribSrc != null && ribSrc.
ItemCount
> count)
2140
if (offsetFromBlockStart >= block.
ItemCount
)
2144
offsetFromBlockStart -= block.
ItemCount
;
2223
ItemsInternal[correctIndex + block.
ItemCount
- deletionOffset]);
2232
(ItemsInternal.Count == correctIndex + block.
ItemCount
- deletionOffset);
2245
correctIndex += block.
ItemCount
;
2459
while (block != _itemMap && offsetFromBlockStart >= block.
ItemCount
)
2461
offsetFromBlockStart -= block.
ItemCount
;
2463
unrealizedItemsSkipped = (block.ContainerCount > 0) ? 0 : unrealizedItemsSkipped + block.
ItemCount
;
2499
MoveItems(rib, offsetFromBlockStart, rib.
ItemCount
- offsetFromBlockStart, newBlock, 0, offsetFromBlockStart);
2544
MoveItems(block, offsetFromBlockStart + 1, block.
ItemCount
- offsetFromBlockStart - 1, block, offsetFromBlockStart, 0);
2662
MoveItems(block, offsetFromBlockStart + 1, block.
ItemCount
- offsetFromBlockStart - 1, block, offsetFromBlockStart, 0);
2673
while (block != _itemMap && offsetFromBlockStart >= block.
ItemCount
)
2675
offsetFromBlockStart -= block.
ItemCount
;
2683
position.Offset += block.
ItemCount
;
2717
MoveItems(rib, offsetFromBlockStart, rib.
ItemCount
- offsetFromBlockStart, newBlock, 0, offsetFromBlockStart);
2889
if (++state.Offset >=
ItemCount
)
2893
state.Count +=
ItemCount
;
2905
state.Offset = state.Block.
ItemCount
- 1;
2906
state.Count -= state.Block.
ItemCount
;
2916
if (count <
ItemCount
- state.Offset)
2922
count =
ItemCount
- state.Offset;
2925
state.Count +=
ItemCount
;
2946
state.Offset = state.Block.
ItemCount
- 1;
2947
state.Count -= state.Block.
ItemCount
;
2979
public override int ContainerCount { get { return
ItemCount
; } }
3051
for (int k=0; k <
ItemCount
; ++k)