2 writes to IsRootElement
PresentationCore (2)
System\Windows\Media\CompositionTarget.cs (2)
472
_rootVisual.
IsRootElement
= false;
479
_rootVisual.
IsRootElement
= true;
10 references to IsRootElement
PresentationCore (10)
System\Windows\Media\BitmapCacheBrush.cs (2)
201
((VisualTreeHelper.GetParent(element) == null && !(element.
IsRootElement
)) // element is not connected to visual tree, OR
257
if (!(element.
IsRootElement
)
System\Windows\Media\CompositionTarget.cs (1)
456
|| visual.
IsRootElement
))
System\Windows\Media\Visual.cs (1)
944
&& !
IsRootElement
)
System\Windows\Media\VisualBrush.cs (2)
183
((VisualTreeHelper.GetParent(element) == null && !(element.
IsRootElement
))
224
if (!(element.
IsRootElement
)
System\Windows\Media\VisualCollection.cs (4)
340
|| value.
IsRootElement
) // are a root node of a visual target can be set into the collection.
381
Debug.Assert(!value.
IsRootElement
);
441
|| visual.
IsRootElement
)) // or a visual target can be added.
688
|| visual.
IsRootElement
)) // or a visual target can be added.