Trigger Filter on CollectionViewSource

前端 未结 6 1065
庸人自扰
庸人自扰 2020-12-04 08:27

I am working on a WPF desktop application using the MVVM pattern.

I am trying to filter some items out of a ListView based on the text typed in a

6条回答
  •  旧巷少年郎
    2020-12-04 09:18

    CollectionViewSource.View.Refresh();
    

    CollectionViewSource.Filter is reevaluated in this way!

提交回复
热议问题