Step :1 Firstly Create the object of listviewcolumn sorter class.
private ListViewColumnSorter listviewColumnSorter=new ListViewColumnSorter();
Step :2 Set ListViewItemSorter property of listView
listView.ListViewItemSorter = listviewColumnSorter;
Handles columnclick event on your form like the above image.
I am pasting the images of listViewItemSorter class please go through it.This class sort the columns according to image,size,text,alphabet.
0 comments:
Post a Comment