• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 14. Grid Controls > The ListView Control

The ListView Control

If the most familiar example of a TreeView control is the left pane of the Windows Explorer, the Explorer's right pane is the best example of the ListView. It is often linked to a TreeView, as in the Explorer, but it's by no means necessary to use the two controls in conjunction like this.

The TreeView control has been described as a “glamorous list box,” and in many ways that's true, although the two controls don't share much in common from a programming perspective. Rather than accepting a generic Object for display, for example, the Items collection of the ListView control contains ListViewItem objects. The most important difference, of course, is that the ListView control can display the items in multiple views.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint