Listview with checkboxes [2.0]

  • Thread starter Thread starter Jon
  • Start date Start date
J

Jon

Is there a way to sort a listview by what is checked? Whenever you do
sorting, it always only uses the data in the column. I'd like to sort by
what is checked so those are always at the top of the list, and then by
column data.

Thanks
Jon
 
Jon,

You can create your own comparer and sort the items as you want. Look at the
ListView.ListViewItemSorter property.
 
Back
Top