10 references to IsRootElement
PresentationCore (10)
Core\CSharp\System\Windows\Media\BitmapCacheBrush.cs (2)
219
((VisualTreeHelper.GetParent(element) == null && !(element.
IsRootElement
)) // element is not connected to visual tree, OR
275
if (!(element.
IsRootElement
)
Core\CSharp\System\Windows\Media\CompositionTarget.cs (1)
511
|| visual.
IsRootElement
))
Core\CSharp\System\Windows\Media\Visual.cs (1)
973
&& !
IsRootElement
)
Core\CSharp\System\Windows\Media\VisualBrush.cs (2)
202
((VisualTreeHelper.GetParent(element) == null && !(element.
IsRootElement
))
243
if (!(element.
IsRootElement
)
Core\CSharp\System\Windows\Media\VisualCollection.cs (4)
382
|| value.
IsRootElement
) // are a root node of a visual target can be set into the collection.
423
Debug.Assert(!value.
IsRootElement
);
483
|| visual.
IsRootElement
)) // or a visual target can be added.
732
|| visual.
IsRootElement
)) // or a visual target can be added.