I'm using uiautomation to get controls of icons in "SVG ICON BUILDER"(available on ms store). for example, I move my cursor to the '$' icon.
The managed AutomationElement.FromPoint() method returns the background pane control.
But the unmanaged Uia returns a listitem control named dollar. (the unmanged uia tells that this listitem is a descendant of the background pane)
But if I change the sequence of the above two methods, they all get the background pane control.
Does anyone knows why this happens?
Thanks!!!