[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 1575

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

Description

ViewStyle is a TViewStyle 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 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.