I was finding that the tree view control would not display my data.
Using Prism I populate my view model when the page has been navigated to, not when the view model is being constructed.
This means that when the page first displays the tree view shows nothing. When the page loads and my observable collection is updated the changes are not reflected in the UI.
If I add a couple of fake values to the view model in its constructor, these are displayed, but not updated after the page loads its real data.
It seems that the tree view will only render what it finds when it is first data-bound. Does this sound correct to anyone else's observations? If so can anyone explain what good this would be to anyone? The data I wish to display comes from a network source so it must be loaded asynchronously and so cannot be part of the constructor.