[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomListView.ViewStyle

Sets one of ListView layouts: List (simple column), Report (few columns with full width), Icon (big icons), Small Icon (small icons, 16x16).

Declaration

Source position: comctrls.pp line 1591

protected property TCustomListView.ViewStyle : TViewStyle
  read FViewStyle
  write SetViewStyle
  default vsList;

Description

ViewStyle is a TViewStyle property which controls the appearance and layout for the list items on the control. The default value for the property is vsList, and causes an icon and caption to be displayed for each list item. List items are arranged in columns, filled from top to bottom and then left to right.

See TViewStyle for a description of the view style values and their meanings.

Changing the value for the property causes the widgetset control to be updated when its handle has been allocated.

See also

TCustomListView.Items

  

Collection of list items displayed on the list view control.

TCustomListView.Columns

  

Collection with the column definitions for the list view control (size, alignment, image index, etc.).

TCustomListView.Column

  

Provides indexed access to the columns defined for the control.

TListItem.Caption

  

Caption - the name given to this item on the list.

TListItem.SubItems

  

Contains text displayed as additional columns on the list view control.

TViewStyle

  

Represents the view styles available for the items in a list view control.


Version 3.2 Generated 2024-02-25 Home