3 writes to _realizedChildren
PresentationFramework (3)
System\Windows\Controls\VirtualizingStackPanel.cs (3)
8836_realizedChildren = null; 9198_realizedChildren = new List<UIElement>(children.Count); 11418_realizedChildren = null;
21 references to _realizedChildren
PresentationFramework (21)
System\Windows\Controls\VirtualizingStackPanel.cs (21)
4028if (_realizedChildren != null) 4030_realizedChildren.Clear(); 8839if (_realizedChildren != null) 8841_realizedChildren.Insert(childIndex, container); 9013_realizedChildren.RemoveRange(pos, uiCount); 9194if (_realizedChildren == null) 9202_realizedChildren.Add(children[i]); 9213Debug.Assert(_realizedChildren != null, "Realized children must exist to verify it"); 9226Debug.Assert(!_realizedChildren.Contains(child), "_realizedChildren should not contain recycled containers"); 9232Debug.Assert(_realizedChildren[position.Index] == child, "_realizedChildren is corrupt!"); 9244Debug.Assert(_realizedChildren.Count == children.Count, "Realized and visual children must match"); 9248Debug.Assert(_realizedChildren[i] == children[i], "Realized and visual children must match"); 9265if (realizedChildIndex < _realizedChildren.Count) 9267UIElement child = _realizedChildren[realizedChildIndex]; 9293UIElement realizedChild = _realizedChildren.Count > 0 ? _realizedChildren[0] : null; 9304if (realizedIndex < _realizedChildren.Count) 9306realizedChild = _realizedChildren[realizedIndex]; 9460Debug.Assert(children == _realizedChildren, "the given child list must be the _realizedChildren list when recycling"); 9478_realizedChildren.RemoveRange(startIndex, count); 11587return _realizedChildren;