advertisement
Login | Register   
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   TIP BANK
Browse DevX
Download the sample application for both VB.NET and C#.
Partners & Affiliates
advertisement
advertisement
advertisement
advertisement
 

Add Flexible Sort Capabilities to ListView Controls

Learn how to make the ListView control sort by a column when a user clicks on a column header, sort by all columns, or sort in just about any other way you can imagine. 


advertisement
use the ListView control a lot. Not to display large or small icon views, which are attractive but information-sparse. Instead, I tend to use it to display a detail view similar to the one shown on the right half of Windows Explorer when you choose "Details" from the View menu or the dropdown button on the toolbar.


In detail view, the ListView acts like an easy-to-use read-only grid. In code, it's easy to add, remove, and rearrange the control's items and sub-items. And at run time, the control can let the user select rows, rearrange columns, and even sort the rows it displays.

It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com.
Already a member?



advertisement