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) 2137if (_itemMap == null || itemIndex < 0) 2142for (block = _itemMap.Next; block != _itemMap; block = block.Next) 2177if (_itemMap == null) 2184for (block = _itemMap.Next; block != _itemMap; block = block.Next) 2229else if (block.Next == _itemMap) 2235itemIsInCurrentBlock = block.Prev == _itemMap || 2253if (block == _itemMap) 2447if (_itemMap == null) 2460ItemBlock block = _itemMap.Next; 2463while (block != _itemMap && offsetFromBlockStart >= block.ItemCount) 2484else if ((offsetFromBlockStart== 0 || block == _itemMap) && 2637if (_itemMap == null) 2675block = _itemMap.Next; 2677while (block != _itemMap && offsetFromBlockStart >= block.ItemCount) 2703else if ((offsetFromBlockStart == 0 || block == _itemMap) &&