Trigger Filter on CollectionViewSource

前端 未结 6 1054
庸人自扰
庸人自扰 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:10

    If I understood well what you are asking:

    In the set part of your FilterText property just call Refresh() to your CollectionView.

提交回复
热议问题