Oferv
6 years agoSuper Contributor
Fail to get Treeview array values
Hi,
I have problem to get values from a teeview array, I can see the array created in the debug window but i'm failing to get the actuall value fro array items.
the code line i'm using to create the array is
PatternsNumber = Aliases.CCM.BreadScrumbTree.AutomationPatternsControl.Tree.FindAll("ClrClassName", "TreeViewItem", 1) and i'm using something like PatternsNumber [0].DataContext.DisplayName to get the string name display in the UI. that doesn't get anything.
Anyone knows why?
Thanks