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)
4028
if (
_realizedChildren
!= null)
4030
_realizedChildren
.Clear();
8839
if (
_realizedChildren
!= null)
8841
_realizedChildren
.Insert(childIndex, container);
9013
_realizedChildren
.RemoveRange(pos, uiCount);
9194
if (
_realizedChildren
== null)
9202
_realizedChildren
.Add(children[i]);
9213
Debug.Assert(
_realizedChildren
!= null, "Realized children must exist to verify it");
9226
Debug.Assert(!
_realizedChildren
.Contains(child), "_realizedChildren should not contain recycled containers");
9232
Debug.Assert(
_realizedChildren
[position.Index] == child, "_realizedChildren is corrupt!");
9244
Debug.Assert(
_realizedChildren
.Count == children.Count, "Realized and visual children must match");
9248
Debug.Assert(
_realizedChildren
[i] == children[i], "Realized and visual children must match");
9265
if (realizedChildIndex <
_realizedChildren
.Count)
9267
UIElement child =
_realizedChildren
[realizedChildIndex];
9293
UIElement realizedChild =
_realizedChildren
.Count > 0 ?
_realizedChildren
[0] : null;
9304
if (realizedIndex <
_realizedChildren
.Count)
9306
realizedChild =
_realizedChildren
[realizedIndex];
9460
Debug.Assert(children ==
_realizedChildren
, "the given child list must be the _realizedChildren list when recycling");
9478
_realizedChildren
.RemoveRange(startIndex, count);
11587
return
_realizedChildren
;