This project is read-only.

Visual Tree and Logical Tree doubt?

Feb 19, 2009 at 12:08 AM
I have a WPF tree that have elements without visual elements, and I'm trying to find a button in the last element tree.

Using UISpy I only get the elements of the tree that have those visual elements, and the elements that are on the logical tree I can't see them.

Can someone point me if this gramework is able to walk trought the WPF tree like is described in the next article, or like the VisualTreeHelper?

Feb 28, 2009 at 4:28 PM
white provides an interface using which you dont need to navigate the tree and find elements. this can be done by using the get method on window objects.
if this is not what you are looking for can you tell me what do you want to do by navigating the tree.
Mar 2, 2009 at 11:16 PM
I think that this is the same problem than the post I added that gives by the name "How to find controls added at runtime"
But the question is that when I use VisualTreeHelper, this utility can see all elements on the object, but when using white or UIAutomation tool over the same object I can't get the same structure.