I have the following two classes:
(1) IViewModelManager (2) WorkspaceViewModel
IViewModelManager has an ObservableCollection.
IViewModelManager is injected into WorkspaceViewModel's constructor.
I have a View that binds to WorkspaceViewModel - and in the view is a ListBox that needs to bind to a collection in WorkspaceViewModel. If I define a readonly property in WorkspaceViewModel that returns the ObservableCollection in IViewModelManager - will changes to the ObservableCollection always bubble up to the UI? For example, if I have another class called ViewModelManager that derives from IViewModelManager - and I perform some function in ViewModelManager that adds an item to the ObservableCollection, will the ListBox in the View that binds to the WorkspaceViewModel class pick up that change? If not, any idea on how to implement this using the architecture I've described?
Chris