Windows Phone Developers

Tuesday, February 17, 2009

How to sort listview items in C#

Here is a simple example of sorting list view items using C#

listView1.Items.Add("Banana");

listView1.Items.Add("Apple");

listView1.Sorting = SortOrder.Ascending ;




ListView before Sorting


ListView after Sorting



Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon

1 comment:

kbAlertz.com :: Visual Studio 2005

kbAlertz.com :: Visual Studio 2008

kbAlertz.com :: Visual Basic 2005