2 writes to IsRootElement
PresentationCore (2)
System\Windows\Media\CompositionTarget.cs (2)
473_rootVisual.IsRootElement = false; 480_rootVisual.IsRootElement = true;
10 references to IsRootElement
PresentationCore (10)
System\Windows\Media\BitmapCacheBrush.cs (2)
202((VisualTreeHelper.GetParent(element) == null && !(element.IsRootElement)) // element is not connected to visual tree, OR 258if (!(element.IsRootElement)
System\Windows\Media\CompositionTarget.cs (1)
457|| visual.IsRootElement))
System\Windows\Media\Visual.cs (1)
947&& !IsRootElement)
System\Windows\Media\VisualBrush.cs (2)
184((VisualTreeHelper.GetParent(element) == null && !(element.IsRootElement)) 225if (!(element.IsRootElement)
System\Windows\Media\VisualCollection.cs (4)
341|| value.IsRootElement) // are a root node of a visual target can be set into the collection. 382Debug.Assert(!value.IsRootElement); 442|| visual.IsRootElement)) // or a visual target can be added. 689|| visual.IsRootElement)) // or a visual target can be added.