Share via


List View Guidelines

4/19/2010

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. On Windows Mobile Professional and Windows Mobile Classic, the list view control displays content in the large icon view.

Consider the following when you include list views in an application:

  • List items should not be truncated.
  • When a window containing a list view is opened, make sure the actively selected item in the list is visible.

Appearance Attributes

The following illustrations show the appearance for list views on Windows Mobile devices.

Windows Mobile Professional and Windows Mobile Classic
Bb158567.18748792-89b5-44f7-9d7f-688835919776(en-us,MSDN.10).gif

Windows Mobile Standard
Bb158567.e980aa1a-57b9-4ed8-bdf9-9d3b49ac6e9e(en-us,MSDN.10).gif

Development Considerations

When developing an application, consider the following when planning to include list view controls:

  • The dual-line list view (for example, Inbox), which must be owner-drawn, is an acceptable alternative to the list view.
  • As an option, the standard control also supports the display of graphics that can be used to represent state information. For example, you can use this functionality to include check boxes next to items in a list.
  • Full-line selection should be enabled.
  • For Windows Mobile Standard devices, the control should include three columns or less. One column can contain text and the other two columns should contain no more than a three-character label. Keep in mind that the font size and type may change the width of columns in the list view.

See Also

Concepts

User Interface Control Guidelines