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

TViewStyle

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

Declaration

Source position: comctrls.pp line 1277

type TViewStyle = (

  vsIcon,

  

Displays a large icon and the caption for each list view item. The icon is centered above the caption text.

  vsSmallIcon,

  

Displays a small icon and caption text for each list view item. Caption text on the right-hand side of the icon.

  vsList,

  

Displays a small icon with caption text to its right-hand side. The list items are arranged in columns.

  vsReport

  

Displays a each list item as a series of columns with a small icon on the left-hand side of the row. Each columns has a header at the top of the list view control.

);

Description

TViewStyle is an enumerated type with values representing the view styles available for the items in a List View control. TViewStyle is the type used for the ViewStyle property in TCustomListView.

See also

TCustomListView.ViewStyle

  

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