How to filter a wpf treeview hierarchy using an ICollectionView?

前端 未结 6 1929
盖世英雄少女心
盖世英雄少女心 2020-12-29 22:26

I have a hypothetical tree view that contains this data:

RootNode
   Leaf
   vein
SecondRoot
   seeds
   flowers

I am trying to filter the

6条回答
  •  难免孤独
    2020-12-29 22:37

    I decided to use the treeview by Philipp Sumi mentioned here : http://www.codeproject.com/KB/WPF/versatile_treeview.aspx

    And applied a filter to it as shown here : http://www.hardcodet.net/2008/02/programmatically-filtering-the-wpf-treeview

    I couldn't recommend it enough :)

提交回复
热议问题