2 writes to _itemMap
PresentationFramework (2)
System\Windows\Controls\ItemContainerGenerator.cs (2)
443
_itemMap
= null;
468
_itemMap
= new ItemBlock();
60 references to _itemMap
PresentationFramework (60)
System\Windows\Controls\ItemContainerGenerator.cs (60)
283
if (
_itemMap
== null)
295
for (block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
306
for (; block !=
_itemMap
; block = block.Next)
442
ItemBlock itemMap =
_itemMap
;
469
_itemMap
.Prev =
_itemMap
.Next =
_itemMap
;
472
uib.InsertAfter(
_itemMap
);
513
if (itemBlock ==
_itemMap
&& position.Index == -1)
539
if (
_itemMap
!= null)
544
for (ItemBlock block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
691
if (
_itemMap
== null)
699
ItemBlock startBlock =
_itemMap
.Next;
704
while (index <= _startIndexForUIFromItem && startBlock !=
_itemMap
)
785
if (block ==
_itemMap
)
818
return GetCount(
_itemMap
);
828
if (
_itemMap
== null)
835
ItemBlock start =
_itemMap
;
893
if (
_itemMap
== null)
923
for (ItemBlock block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
1003
if (
_itemMap
== null)
1010
for (ItemBlock block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
1024
for (ItemBlock block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
1152
if (
_itemMap
== null)
1164
ItemBlock block =
_itemMap
.Next;
1165
while (block !=
_itemMap
)
1188
ItemBlock block =
_itemMap
.Next;
1196
if (block !=
_itemMap
)
1207
while (block !=
_itemMap
)
1381
if (_cachedState.Block == _factory.
_itemMap
)
1637
ItemBlock block =
_itemMap
;
1675
if (offset == 0 && (!allowStartAtRealizedItem || state.Block ==
_itemMap
))
1693
if (state.Block ==
_itemMap
)
1786
if (block != null && block !=
_itemMap
&& block.ItemCount == 0)
1854
index = (block ==
_itemMap
) ? -1 : ItemsControl.GetAlternationIndex(rib.ContainerAt(offset));
1868
if (block ==
_itemMap
)
1893
index = (block ==
_itemMap
) ? 1 : ItemsControl.GetAlternationIndex(rib.ContainerAt(offset));
1907
if (block ==
_itemMap
)
2142
if (
_itemMap
== null || itemIndex < 0)
2147
for (block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
2182
if (
_itemMap
== null)
2189
for (block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
2234
else if (block.Next ==
_itemMap
)
2240
itemIsInCurrentBlock = block.Prev ==
_itemMap
||
2258
if (block ==
_itemMap
)
2452
if (
_itemMap
== null)
2465
ItemBlock block =
_itemMap
.Next;
2468
while (block !=
_itemMap
&& offsetFromBlockStart >= block.ItemCount)
2489
else if ((offsetFromBlockStart== 0 || block ==
_itemMap
) &&
2640
if (
_itemMap
== null)
2678
block =
_itemMap
.Next;
2680
while (block !=
_itemMap
&& offsetFromBlockStart >= block.ItemCount)
2706
else if ((offsetFromBlockStart == 0 || block ==
_itemMap
) &&