Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
FieldLayoutSettings hanging event handler
posted

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?