We are using the CSLA LinqObservableCollection with WPF 4 in CSLA 4.0.1. This is a very useful class. However, two of our team members, Brent Edwards and Marty Robertson, have discovered that there is a minor bug. Specifically, in the IndexOf(object value) the released code reads:
return _baseCollection.IndexOf((T)value);
We think that this incorrect and the the line should read:
return _filteredCollection.IndexOf((T)value);
Without this change, the WPF data grid ends up selecting the wrong line in the grid.
Jon Stonecash
Thanks Jon, I'll add this to the bug list for 4.1.
Copyright (c) Marimer LLC