Interesting blog post here: Dispose of a WPF UserControl (ish)
It mentions subscribing to Dispatcher.ShutdownStarted to dispose of your resources.
More Related Contents:
- ICommand MVVM implementation
- How can I programmatically generate keypress events in C#?
- How can I register a global hot key to say CTRL+SHIFT+(LETTER) using WPF and .NET 3.5?
- Listen to changes of dependency property
- .NET Memory issues loading ~40 images, memory not reclaimed, potentially due to LOH fragmentation
- disable mouse wheel on itemscontrol in wpf
- How do I exit a WPF application programmatically?
- DataGrid get selected rows’ column values
- What happens if i return before the end of using statement? Will the dispose be called?
- Horizontal scroll for stackpanel doesn’t work
- How to check if another instance of the application is running [duplicate]
- WPF How to access control from DataTemplate
- WPF: Cannot reuse window after it has been closed
- Using FolderBrowserDialog in WPF application [duplicate]
- WPF: The name does not exist in the namespace [duplicate]
- Disallow/Block selection of disabled combobox item in wpf
- Cannot delete file when used in DataContext
- Content of a Button Style appears only in one Button instance
- Put WPF control into a Windows Forms Form?
- What is the simplest C# function to parse a JSON string into an object? [closed]
- Setting the initial directory of an SaveFileDialog?
- How to play a WPF Sound File resource
- How to open a web page from my application?
- Loading XAML XML through runtime?
- WPF TwoWay Binding to a static class Property
- One ViewModel for UserControl and Window or separate ViewModels
- Problems with binding to Window Height and Width
- Could not load file or assembly Windows.winmd’
- Is it necessary to dispose System.Timers.Timer if you use one in your application?
- SendKeys.Send Method in WPF application