C# ListView Sorter Author: Dave Date: 04.13.12 - 9:15am
Here is a demo of a very easy to use list view sorter class for C#
that only takes 3 lines to implement.
ListViewSorter.ListViewColumnSorter lvs = null;
public Form1()
{
InitializeComponent();
lvs = new ListViewSorter.ListViewColumnSorter();
lvs.Initilize(lv, "text,hex,num", null);
It supports 4 types of column sorting, text, hex number,none and integer.
You can specify how to sort each column in the initilize function call.
The first few examples i turned up were just to confusing and to much work
for something you are goign to have to implement over and over again. This cuts it down to the bare bones I think.
free for any use, enjoy.
Comments: (0)
|