3 writes to _realizedChildren
PresentationFramework (3)
System\Windows\Controls\VirtualizingStackPanel.cs (3)
8841
_realizedChildren
= null;
9203
_realizedChildren
= new List<UIElement>(children.Count);
11423
_realizedChildren
= null;
21 references to _realizedChildren
PresentationFramework (21)
System\Windows\Controls\VirtualizingStackPanel.cs (21)
4033
if (
_realizedChildren
!= null)
4035
_realizedChildren
.Clear();
8844
if (
_realizedChildren
!= null)
8846
_realizedChildren
.Insert(childIndex, container);
9018
_realizedChildren
.RemoveRange(pos, uiCount);
9199
if (
_realizedChildren
== null)
9207
_realizedChildren
.Add(children[i]);
9218
Debug.Assert(
_realizedChildren
!= null, "Realized children must exist to verify it");
9231
Debug.Assert(!
_realizedChildren
.Contains(child), "_realizedChildren should not contain recycled containers");
9237
Debug.Assert(
_realizedChildren
[position.Index] == child, "_realizedChildren is corrupt!");
9249
Debug.Assert(
_realizedChildren
.Count == children.Count, "Realized and visual children must match");
9253
Debug.Assert(
_realizedChildren
[i] == children[i], "Realized and visual children must match");
9270
if (realizedChildIndex <
_realizedChildren
.Count)
9272
UIElement child =
_realizedChildren
[realizedChildIndex];
9298
UIElement realizedChild =
_realizedChildren
.Count > 0 ?
_realizedChildren
[0] : null;
9309
if (realizedIndex <
_realizedChildren
.Count)
9311
realizedChild =
_realizedChildren
[realizedIndex];
9465
Debug.Assert(children ==
_realizedChildren
, "the given child list must be the _realizedChildren list when recycling");
9483
_realizedChildren
.RemoveRange(startIndex, count);
11592
return
_realizedChildren
;