Open
Description
HierarchicalDataTemplates create TreeViewItems with bad default AutomationProperties.Name
Need a bad workaround to properly set AutomationProperties.Name.
(use a converter to set AutomationProperties.Name or TreeViewItem.Header)
To Repro:
- Open .sln or .csproj in attached Zip
- run app
- use accessibility insights or narrator to read the 2nd level treeviewitems in the right tree view.
Expected:
Accessibility name is read as what is displayed in the treeviewitem.. ("net461", etc...)
Actual:
4. accessibility name is read as . of datacontext in that treeviewitem.