Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Check If Is Child In Logical Or Visual Tree

$
0
0

Hi,

how can I check if a child is in LogicalTree or in VisualTree?

Is there something like UIElement.IsInVisualTree or UIElement.IsInLogicalTree?

So the question is how do I find out no matter when at runtime if a child (i could pick any random child) is in LogicalTree or in VisualTree?


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>