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

# TCustomListView.TopItem

The list item which is displayed at the top of the list view control.

## Declaration

Source position: comctrls.pp line 1688

`public property TCustomListView.TopItem : TListItem read GetTopItem;`

## Description

TopItem is a read-only TListItem property with the list item that appears at the top of the scrollable, non-fixed area on the control when ViewStyle is set to vsReport or vsList. TopItem contains Nil when ViewStyle is set to vsSmallIcon or vsIcon.

The property value is the TListItem entry in the Items container as reported by the widgetset class for the list view control.

## See also

TCustomListView.Items |  | Collection of list items displayed on the list view control.
TCustomListView.ViewStyle |  | Sets one of ListView layouts: List (simple column), Report (few columns with full width), Icon (big icons), Small Icon (small icons, 16x16).
TListItem |  | Represents the items created in TCustomListView and descendants.