How do you get the resultset from the CollectionViewSource once it's filtered? Actually, all I need is the count, but I assume sure the answers go together. Thanks!
How do you get the resultset from the CollectionViewSource once it's filtered? Actually, all I need is the count, but I assume sure the answers go together. Thanks!
collectionViewSource.View
returns the active view. Therefore once the filtering is complete thecollectionViewSource.View
would represent the items which returned true during the filter. If you wanted the entire underlying collection for whatever reason you would access that viacollectionViewSource.View.SourceCollection
.