I have a TreeListView control that I need to expand and collapse rows via the view model. The problem is the TreeListView control will sometimes update after updating the view model but not always. Or sometimes the TreeListView control will update after a few seconds. If I scroll to the bottom of the TreeListView control and back it will always refresh to match the correct view model values.
I have put debug statements next to the OnPropertyChanged calls and it always seems to be firing correctly. Since the TreeListView control will sometimes update it seems like it is not a binding issue to me. It's configured to use TwoWay binding. INotifyPropertyChanged is implemented in the view model. It feels like the TreeListView is not always getting the OnPropertyChanged event but I don't know why it would get it sometimes and not other times.
I am thinking I could implement a way to force the TreeListView control to refresh any time the property that IsExpandedBinding is bound to changes but this does not seem like a good solution to me.
Any thoughts as to why this may occur?