A class that makes it easier to work with the ListView

A class that makes it easier to work with the ListView

This class is designed to make working with the ListView control much easier, primarily when using it in Report view. There are various properties and methods which make for easy adding of items and automatically sorting items properly when clicking column headers, including numbers and dates. This is accomplished by having a hidden column in the ListView, which contains a properly formatted number or date. By setting various properties, this is all transparent to the user/programmer. There are various methods to sort and cause alternate line shading, as well as automatically setting column widths based on contents/header text. The class is fully documented and comes with a test form.


About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist