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
130
ICollectionView, CanFilter, and Filter
posted

I'm trying to bind a ICollectionView provided by a 3rd party lib which throws a not implemented exception in its filter method predicate.  The xamDataGrid to throws because for some reason it calls the Filter predicate, though it shouldn't since its CanFilter bool property (also defined as part of the ICollectionView interface) returns false, but the xamDataGrid doesn't seem to be honoring this property before trying to call the Filter predicate.

 

On a similar collection I also had a problem showing records, because it didn't provide a Count property, which isn't required by the ICollectionView, as soon as I added the property via a wrapper the records displayed OK..