I understand the concepts of the Visual and logical tree, but still I cannot understand how they are used and what they need. Although itโs not necessary to know all about these trees, I believe that this will be beneficial in some advanced scenarios.
Visual
logical
I have already reviewed the following articles and understood the concepts
http://www.codeproject.com/KB/WPF/WpfElementTrees.aspx
http://blogs.msdn.com/b/mikehillberg/archive/2008/05/23/of-logical-and-visual-trees-in-wpf.aspx
What I want to understand is the use of these functions in a framework (in simple words and scripts that are understandable)? How exactly do you determine when to use a visual or logical tree? Any other information that helps visualize these trees?
just take a look at this link
http://wpftutorial.net/LogicalAndVisualTree.html