Filter an observable collection

前端 未结 3 2066
太阳男子
太阳男子 2020-12-05 08:36

I have a ListView control that displays items from an observable collection. These items need to be filtered. I am able to do that with a CollectionViewSo

3条回答
  •  南笙
    南笙 (楼主)
    2020-12-05 09:25

    Use a tool like ContinuousLinq. You bind your listview to a query that will reevaluate when an item in the list (or the list itself) changes.

提交回复
热议问题