I have a usercontrol bound to a ViewModel containing a RadTreeView. This is in a OutlookBarItem and displayed as a region in through a ContentControl.
In another region bound to another ViewModel I have some configuration RadioButtons and selection of the one of the RadioButtons eventually calls a method "XYZ" in the first ViewModel.
In the the "XYZ" method of the first ViewModel I set a dependency property which is an ObservableCollection<ABC> type. My TreeView is bound to this dependency property.
When I first bring up the application I go get all my needed data and fill three ObservableCollections - each ObservableCollection had nested Children of ObsrvableCollections. Some two deep some four deep ...
I can get the RadTreeView to display the EntityTree dependency property that it is bound to initially. But when I select an alternative radiobutton and set the dependencyproperty to the appropriate observable collection object, it does not refresh the RadTreeView on the view. Do I have to do something to the region to get this refreshed? Is the binding of the itemssource to this entitytree dependency property enough to get this radtreeview to refresh itself? What's wrong?
-ed
In another region bound to another ViewModel I have some configuration RadioButtons and selection of the one of the RadioButtons eventually calls a method "XYZ" in the first ViewModel.
In the the "XYZ" method of the first ViewModel I set a dependency property which is an ObservableCollection<ABC> type. My TreeView is bound to this dependency property.
When I first bring up the application I go get all my needed data and fill three ObservableCollections - each ObservableCollection had nested Children of ObsrvableCollections. Some two deep some four deep ...
I can get the RadTreeView to display the EntityTree dependency property that it is bound to initially. But when I select an alternative radiobutton and set the dependencyproperty to the appropriate observable collection object, it does not refresh the RadTreeView on the view. Do I have to do something to the region to get this refreshed? Is the binding of the itemssource to this entitytree dependency property enough to get this radtreeview to refresh itself? What's wrong?
-ed