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

# TListItemsEnumerator.Current

Current value for the enumerator.

## Declaration

Source position: comctrls.pp line 1124

`public property TListItemsEnumerator.Current : TListItem read GetCurrent;`

## Description

Current is a read-only TListItem property which contains the list item found at the current position for the enumerator. The property value is Nil (and an exception is raised) if Current is used to access a position prior to or after a valid position in the list item container.

Use MoveNext to move the enumerator to the first/next list item in the container. When MoveNext returns False, there are no more list items available to the enumerator.

## See also

TListItemsEnumerator.MoveNext |  | Moves to the next value for the enumerator.
TListItems.Count |  | The number of TListItem instances stored in the container.
TListItems |  | Implements a container for list items on a list view control.
TListItem |  | Represents the items created in TCustomListView and descendants.