How do I get the filtered results

Grids for WPF Forum

Posted 3 months ago by yejianbiao
Version: 23.1.4
Avatar

Hello,

TreeListView is bound to 100 pieces of data, after applying the filter, the TreeListView presents 10 pieces of data, can i get the filtered 10 pieces of data in the code

Comments (1)

Posted 3 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Behind the scenes, TreeListView converts the hierarchy of visible nodes into a flat list in the ItemsSource, even when filtered.  Therefore you can enumerate the Items collection programmatically to see what is visible in the control.


Actipro Software Support

The latest build of this product (v24.1.2) was released 5 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.