2 writes to _child
PresentationFramework (2)
src\Framework\MS\Internal\Documents\UIElementIsland.cs (2)
38
_child
= child;
171
_child
= null;
16 references to _child
PresentationFramework (16)
src\Framework\MS\Internal\Documents\UIElementIsland.cs (16)
40
if (
_child
!= null)
43
Visual currentParent = VisualTreeHelper.GetParent(
_child
) as Visual;
51
Children.Add(
_child
);
75
if (
_child
!= null)
79
if (
_child
is FrameworkElement && ((FrameworkElement)
_child
).Parent != null)
81
SetValue(FrameworkElement.FlowDirectionProperty, ((FrameworkElement)
_child
).Parent.GetValue(FrameworkElement.FlowDirectionProperty));
89
_child
.Measure(availableSize);
92
islandSize.Width = horizontalAutoSize ?
_child
.DesiredSize.Width : availableSize.Width;
93
islandSize.Height = verticalAutoSize ?
_child
.DesiredSize.Height : availableSize.Height;
94
_child
.Arrange(new Rect(islandSize));
121
return
_child
;
168
if (
_child
!= null)
213
if (
_child
!= null)
215
hostedElements.Add(
_child
);
226
Invariant.Assert(child ==
_child
);