2 writes to _child
PresentationFramework (2)
MS\Internal\Documents\UIElementIsland.cs (2)
36
_child
= child;
169
_child
= null;
16 references to _child
PresentationFramework (16)
MS\Internal\Documents\UIElementIsland.cs (16)
38
if (
_child
!= null)
41
Visual currentParent = VisualTreeHelper.GetParent(
_child
) as Visual;
49
Children.Add(
_child
);
73
if (
_child
!= null)
77
if (
_child
is FrameworkElement && ((FrameworkElement)
_child
).Parent != null)
79
SetValue(FrameworkElement.FlowDirectionProperty, ((FrameworkElement)
_child
).Parent.GetValue(FrameworkElement.FlowDirectionProperty));
87
_child
.Measure(availableSize);
90
islandSize.Width = horizontalAutoSize ?
_child
.DesiredSize.Width : availableSize.Width;
91
islandSize.Height = verticalAutoSize ?
_child
.DesiredSize.Height : availableSize.Height;
92
_child
.Arrange(new Rect(islandSize));
119
return
_child
;
166
if (
_child
!= null)
211
if (
_child
!= null)
213
hostedElements.Add(
_child
);
224
Invariant.Assert(child ==
_child
);