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

# TListItemsEnumerator

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements an enumerator for TListItem values in a TListItems container.

## Declaration

Source position: comctrls.pp line 1116

`type TListItemsEnumerator = class`
`public`
`constructor Create();` |  | Constructor for the class instance.
`function MoveNext;` |  | Moves to the next value for the enumerator.
`property Current: TListItem; [r]` |  | Current value for the enumerator.
`end;`

## Inheritance

`TListItemsEnumerator` |  | Implements an enumerator for TListItem values in a TListItems container.
`TObject`

## Description

TListItemsEnumerator is the type returned from the GetEnumerator method in TListItems. It implements the enumerator for the indexed Item property in TListItems.

## See also

TListItems.GetEnumerator |  | Gets an enumerator for the list items in the container.
TListItems.Item |  | Provides indexed access to the TListItem instance in the container by their ordinal position.
TListItem |  | Represents the items created in TCustomListView and descendants.