2 writes to _child
PresentationFramework (2)
MS\Internal\Documents\UIElementIsland.cs (2)
34
_child
= child;
167
_child
= null;
16 references to _child
PresentationFramework (16)
MS\Internal\Documents\UIElementIsland.cs (16)
36
if (
_child
!= null)
39
Visual currentParent = VisualTreeHelper.GetParent(
_child
) as Visual;
47
Children.Add(
_child
);
71
if (
_child
!= null)
75
if (
_child
is FrameworkElement && ((FrameworkElement)
_child
).Parent != null)
77
SetValue(FrameworkElement.FlowDirectionProperty, ((FrameworkElement)
_child
).Parent.GetValue(FrameworkElement.FlowDirectionProperty));
85
_child
.Measure(availableSize);
88
islandSize.Width = horizontalAutoSize ?
_child
.DesiredSize.Width : availableSize.Width;
89
islandSize.Height = verticalAutoSize ?
_child
.DesiredSize.Height : availableSize.Height;
90
_child
.Arrange(new Rect(islandSize));
117
return
_child
;
164
if (
_child
!= null)
209
if (
_child
!= null)
211
hostedElements.Add(
_child
);
222
Invariant.Assert(child ==
_child
);