2 writes to _itemMap
PresentationFramework (2)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (2)
446
_itemMap
= null;
471
_itemMap
= new ItemBlock();
60 references to _itemMap
PresentationFramework (60)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (60)
285
if (
_itemMap
== null)
297
for (block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
308
for (; block !=
_itemMap
; block = block.Next)
445
ItemBlock itemMap =
_itemMap
;
472
_itemMap
.Prev =
_itemMap
.Next =
_itemMap
;
475
uib.InsertAfter(
_itemMap
);
516
if (itemBlock ==
_itemMap
&& position.Index == -1)
542
if (
_itemMap
!= null)
547
for (ItemBlock block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
699
if (
_itemMap
== null)
707
ItemBlock startBlock =
_itemMap
.Next;
712
while (index <= _startIndexForUIFromItem && startBlock !=
_itemMap
)
793
if (block ==
_itemMap
)
826
return GetCount(
_itemMap
);
836
if (
_itemMap
== null)
843
ItemBlock start =
_itemMap
;
901
if (
_itemMap
== null)
931
for (ItemBlock block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
1011
if (
_itemMap
== null)
1018
for (ItemBlock block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
1032
for (ItemBlock block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
1160
if (
_itemMap
== null)
1172
ItemBlock block =
_itemMap
.Next;
1173
while (block !=
_itemMap
)
1196
ItemBlock block =
_itemMap
.Next;
1204
if (block !=
_itemMap
)
1215
while (block !=
_itemMap
)
1389
if (_cachedState.Block == _factory.
_itemMap
)
1645
ItemBlock block =
_itemMap
;
1683
if (offset == 0 && (!allowStartAtRealizedItem || state.Block ==
_itemMap
))
1701
if (state.Block ==
_itemMap
)
1794
if (block != null && block !=
_itemMap
&& block.ItemCount == 0)
1862
index = (block ==
_itemMap
) ? -1 : ItemsControl.GetAlternationIndex(rib.ContainerAt(offset));
1876
if (block ==
_itemMap
)
1901
index = (block ==
_itemMap
) ? 1 : ItemsControl.GetAlternationIndex(rib.ContainerAt(offset));
1915
if (block ==
_itemMap
)
2150
if (
_itemMap
== null || itemIndex < 0)
2155
for (block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
2190
if (
_itemMap
== null)
2197
for (block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
2242
else if (block.Next ==
_itemMap
)
2248
itemIsInCurrentBlock = block.Prev ==
_itemMap
||
2266
if (block ==
_itemMap
)
2460
if (
_itemMap
== null)
2473
ItemBlock block =
_itemMap
.Next;
2476
while (block !=
_itemMap
&& offsetFromBlockStart >= block.ItemCount)
2497
else if ((offsetFromBlockStart== 0 || block ==
_itemMap
) &&
2648
if (
_itemMap
== null)
2686
block =
_itemMap
.Next;
2688
while (block !=
_itemMap
&& offsetFromBlockStart >= block.ItemCount)
2714
else if ((offsetFromBlockStart == 0 || block ==
_itemMap
) &&