Building Enhanced Lists Using the List View

The List View control is like a list box on steroids—and then some. The List View can be used to create simple lists, multicolumn grids, and icon trays. The right pane in Explorer is a List View. (You can change the appearance of the List View in Explorer by right-clicking it and using the View submenu of the context menu that appears.) The primary display options available for Explorer's List Views are Large Icons, Small Icons, List, and Details. These correspond exactly to the display options available for a List View by way of its View property. You're now going to create a List View with a few items on it and experiment with the different views—including showing a picture for the items.

I can only ...

Get Sams Teach Yourself Microsoft® Visual C#™ .NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.