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