2 writes to _child
PresentationFramework (2)
MS\Internal\Documents\UIElementIsland.cs (2)
33
_child
= child;
166
_child
= null;
16 references to _child
PresentationFramework (16)
MS\Internal\Documents\UIElementIsland.cs (16)
35
if (
_child
!= null)
38
Visual currentParent = VisualTreeHelper.GetParent(
_child
) as Visual;
46
Children.Add(
_child
);
70
if (
_child
!= null)
74
if (
_child
is FrameworkElement && ((FrameworkElement)
_child
).Parent != null)
76
SetValue(FrameworkElement.FlowDirectionProperty, ((FrameworkElement)
_child
).Parent.GetValue(FrameworkElement.FlowDirectionProperty));
84
_child
.Measure(availableSize);
87
islandSize.Width = horizontalAutoSize ?
_child
.DesiredSize.Width : availableSize.Width;
88
islandSize.Height = verticalAutoSize ?
_child
.DesiredSize.Height : availableSize.Height;
89
_child
.Arrange(new Rect(islandSize));
116
return
_child
;
163
if (
_child
!= null)
208
if (
_child
!= null)
210
hostedElements.Add(
_child
);
221
Invariant.Assert(child ==
_child
);