Filter a DataGrid on a Text box

前端 未结 4 1966
挽巷
挽巷 2020-12-03 01:12

I search an example or sample to filter the WPF DataGrid column elements by a textbox.

\"alt

S

4条回答
  •  执笔经年
    2020-12-03 02:07

    There are several solutions, but in my opinion, the best solutions are the ones which uses only DataGrid styles without inventing a new inherited DataGird type. The followings are the best I found:

    • Option 1: which I personally use: Automatic WPF Toolkit DataGrid Filtering
    • Option 2: Auto-filter for Microsoft WPF DataGrid

提交回复
热议问题