3 writes to _realizedChildren
PresentationFramework (3)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (3)
8683
_realizedChildren
= null;
9045
_realizedChildren
= new List<UIElement>(children.Count);
11285
_realizedChildren
= null;
21 references to _realizedChildren
PresentationFramework (21)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (21)
3951
if (
_realizedChildren
!= null)
3953
_realizedChildren
.Clear();
8686
if (
_realizedChildren
!= null)
8688
_realizedChildren
.Insert(childIndex, container);
8860
_realizedChildren
.RemoveRange(pos, uiCount);
9041
if (
_realizedChildren
== null)
9049
_realizedChildren
.Add(children[i]);
9060
Debug.Assert(
_realizedChildren
!= null, "Realized children must exist to verify it");
9074
Debug.Assert(!
_realizedChildren
.Contains(child), "_realizedChildren should not contain recycled containers");
9080
Debug.Assert(
_realizedChildren
[position.Index] == child, "_realizedChildren is corrupt!");
9092
Debug.Assert(
_realizedChildren
.Count == children.Count, "Realized and visual children must match");
9096
Debug.Assert(
_realizedChildren
[i] == children[i], "Realized and visual children must match");
9114
if (realizedChildIndex <
_realizedChildren
.Count)
9117
UIElement child =
_realizedChildren
[realizedChildIndex];
9143
UIElement realizedChild =
_realizedChildren
.Count > 0 ?
_realizedChildren
[0] : null;
9154
if (realizedIndex <
_realizedChildren
.Count)
9157
realizedChild =
_realizedChildren
[realizedIndex];
9311
Debug.Assert(children ==
_realizedChildren
, "the given child list must be the _realizedChildren list when recycling");
9329
_realizedChildren
.RemoveRange(startIndex, count);
11454
return
_realizedChildren
;