I have an ObjectListView
populated with some data. I use a complicated ModelFilter
to filter some rows out.
I would like to display a label above my ObjectListView
:
Displaying 123 items out of 456.
Is there any way to find out how many rows passed the filter?
Well, it is easy:
listView.Items.Count
is the number of rows displayed, not the number of all objects in ObjectListView
.