2 writes to IsRootElement
PresentationCore (2)
System\Windows\Media\CompositionTarget.cs (2)
495
_rootVisual.
IsRootElement
= false;
502
_rootVisual.
IsRootElement
= true;
10 references to IsRootElement
PresentationCore (10)
System\Windows\Media\BitmapCacheBrush.cs (2)
216
((VisualTreeHelper.GetParent(element) == null && !(element.
IsRootElement
)) // element is not connected to visual tree, OR
272
if (!(element.
IsRootElement
)
System\Windows\Media\CompositionTarget.cs (1)
479
|| visual.
IsRootElement
))
System\Windows\Media\Visual.cs (1)
963
&& !
IsRootElement
)
System\Windows\Media\VisualBrush.cs (2)
199
((VisualTreeHelper.GetParent(element) == null && !(element.
IsRootElement
))
240
if (!(element.
IsRootElement
)
System\Windows\Media\VisualCollection.cs (4)
365
|| value.
IsRootElement
) // are a root node of a visual target can be set into the collection.
406
Debug.Assert(!value.
IsRootElement
);
466
|| visual.
IsRootElement
)) // or a visual target can be added.
713
|| visual.
IsRootElement
)) // or a visual target can be added.