List Views
A list view control is used to display items in a scrollable list. Each item has an icon and a label. The list view control can display content in four different views: large icon, small icon, list, and report. Typically, the control displays content in the report view, which contains columns with column headers hidden.
Consider the following when you include list views in an application:
- Full-line selection should be enabled.
- On Windows Mobile-based Smartphones, the control should include three columns or fewer. One column can contain text, and the other two should contain no more than a three-character label. Consider that the font size and type may change the width of columns in the list view.
- List items should not be truncated.
- When a window containing a list view is opened, the list view control should display the currently selected item.
- The dual-line list view, which must be owner-drawn, is an acceptable alternative to the list view.
- The list view supports the display of graphics to indicate state. For example, you can include check boxes next to items in the list.
See Also
Last updated on Friday, April 22, 2005
© 2005 Microsoft Corporation. All rights reserved.
Send feedback on this topic to the authors.