Hi everyone
I am trying to pinpoint a memory leak in our WPF MVVM application that uses XamDataGrid extensively. I am profiling memory using ANTS. With the help of .Net Reflector it seems that instances of XamDataGrid don't unhook their PropertyChanged handlers from FieldLayoutSettings.
Is there a recommended way of "disposing" XamDataGrids so that they get GCed?
I've improved our applications' memory usage so far by "disconnecting" our Views from their ViewModels when the view is closed.
The trial license of ANTS has expired in the meantime though so I'm not sure the issue with this EventHandler has been resolved with the above mentioned change. The app I'm working on is in development though and I'll need to get a license in the near future to check this again.
Any updates on this thread? I have been chasing the same ghost.