The documentation shows a minimalist example of DataSource of
The source code for treeview template suggests there might be other properties, such as expanded, allowed in the dataSource.
I tried this which did not seem to work
Is treeview data source restricted to having only the properties items: and text: ?