When RadDataForm is placed in a Window/RadWindow and there is a DataFormComboBoxField, if the combo value is changed, RadDataForm instance remains in the memory after the window is closed.
Posted on:15 Apr 2014 06:10
In more general terms, the problem here is that the DataFormComboBoxField subscribes to the ItemsSource CollectionChanged event without using the weak event pattern. It does not even unsubscribe if the ItemsSource changes.
Under the MVVM pattern this will naturally cause a memory leak if the view model has a longer lifetime than the view.