View Property
Object List Next Object
Defined By: ListView
Description:
Determines how the ListItem objects in a ListView control look. There are
four available settings.
Settings:
Settings Description
0 - Icon (Default) Each ListItem object appears as a standard full-sized icon with a
text label.
- - SmallIcon Each ListItem object is arranged in the horizontal direction, and appears as a
small icon with a text label to its right.
- - List Each listItem object arranged in the vertical direction, and appears as a
small icon with a text label to its right. Each ListItem object is on its own line
and has columns of information.
- - Report Each List Item object appears as a small icon with a text label that has additonal
information organized in columns. The leftmost column contains the small icon with
the label to its right.
Details:
Additional information can be added to each ListItem by using a subitem. The
text for each subitem is displayed in additional columns.Details:
Use the LabelWrap property when in Icon view to specify whether the ListIem
object's labels can wrap to the next line.LabelWrap is not valid for the other
three views.
When in Report view, there are several things you can do with column headers.
One thing you can do is hide them by setting the HideColumnHeaders property to
True. You can also have some action occur when they are clicked. For example,
you can use the ColumnClick event and the sorting properties so that the
ListItem objects or subitems are sorted when a user clicks on the column header.
Column headers are also user-resizable. To change the column size, a user can
grab a column header's right border and drag it to the desired size.
Data Type: Enum - ListViewView