Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: AvalonDock ViewModels remain in memory after being removed form DocumentsSource

$
0
0
Hi,
I am using AvalonDock in an MVVM application. I have DocumetsSource property bound to an ObservableCollection<WorkspaceViewModel>. WorkspaceViewModels can be successfully added and removed from the collection and the tab item in AvalonDock is added removed as expected. However, the WorkspaceViewModels always remain in memory.

I have created a sample project here

Is there something I'm doing wrong?

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>