2 writes to _itemMap
PresentationFramework (2)
System\Windows\Controls\ItemContainerGenerator.cs (2)
437
_itemMap
= null;
462
_itemMap
= new ItemBlock();
60 references to _itemMap
PresentationFramework (60)
System\Windows\Controls\ItemContainerGenerator.cs (60)
277
if (
_itemMap
== null)
289
for (block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
300
for (; block !=
_itemMap
; block = block.Next)
436
ItemBlock itemMap =
_itemMap
;
463
_itemMap
.Prev =
_itemMap
.Next =
_itemMap
;
466
uib.InsertAfter(
_itemMap
);
507
if (itemBlock ==
_itemMap
&& position.Index == -1)
533
if (
_itemMap
!= null)
538
for (ItemBlock block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
685
if (
_itemMap
== null)
693
ItemBlock startBlock =
_itemMap
.Next;
698
while (index <= _startIndexForUIFromItem && startBlock !=
_itemMap
)
779
if (block ==
_itemMap
)
812
return GetCount(
_itemMap
);
822
if (
_itemMap
== null)
829
ItemBlock start =
_itemMap
;
887
if (
_itemMap
== null)
917
for (ItemBlock block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
997
if (
_itemMap
== null)
1004
for (ItemBlock block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
1018
for (ItemBlock block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
1146
if (
_itemMap
== null)
1158
ItemBlock block =
_itemMap
.Next;
1159
while (block !=
_itemMap
)
1182
ItemBlock block =
_itemMap
.Next;
1190
if (block !=
_itemMap
)
1201
while (block !=
_itemMap
)
1375
if (_cachedState.Block == _factory.
_itemMap
)
1631
ItemBlock block =
_itemMap
;
1669
if (offset == 0 && (!allowStartAtRealizedItem || state.Block ==
_itemMap
))
1687
if (state.Block ==
_itemMap
)
1780
if (block != null && block !=
_itemMap
&& block.ItemCount == 0)
1848
index = (block ==
_itemMap
) ? -1 : ItemsControl.GetAlternationIndex(rib.ContainerAt(offset));
1862
if (block ==
_itemMap
)
1887
index = (block ==
_itemMap
) ? 1 : ItemsControl.GetAlternationIndex(rib.ContainerAt(offset));
1901
if (block ==
_itemMap
)
2136
if (
_itemMap
== null || itemIndex < 0)
2141
for (block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
2176
if (
_itemMap
== null)
2183
for (block =
_itemMap
.Next; block !=
_itemMap
; block = block.Next)
2228
else if (block.Next ==
_itemMap
)
2234
itemIsInCurrentBlock = block.Prev ==
_itemMap
||
2252
if (block ==
_itemMap
)
2446
if (
_itemMap
== null)
2459
ItemBlock block =
_itemMap
.Next;
2462
while (block !=
_itemMap
&& offsetFromBlockStart >= block.ItemCount)
2483
else if ((offsetFromBlockStart== 0 || block ==
_itemMap
) &&
2634
if (
_itemMap
== null)
2672
block =
_itemMap
.Next;
2674
while (block !=
_itemMap
&& offsetFromBlockStart >= block.ItemCount)
2700
else if ((offsetFromBlockStart == 0 || block ==
_itemMap
) &&