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

# TIcnsList

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

Implements a list used to maintain TIcnsIcon instances.

## Declaration

Source position: graphics.pp line 1703

`type TIcnsList = class(TList)`
`protected`
`procedure Notify(); override;` |  | Handles the notification when an icon image is added to or removed from the list.
`public`
`function Add();` |  | Creates and stores a entry in the list for the specified icon type and raw image.
`property Items []: PIcnsRec; default; [rw]` |  | Provides indexed access to the icon images in the list by their ordinal position.
`end;`

## Inheritance

`TIcnsList` |  | Implements a list used to maintain TIcnsIcon instances.
`TList`
?
`TObject`

## Description

TIcnsList is a TList descendant which implements a list used to create, store, and maintain TIcnsIcon instances. It provides indexed access to the icons using the Items property. It re-implements the Add method to allow an icon instance to be created and stored using the specified icon type and raw image data.

TIcnsList is the type used to implement storage for images and masks in TIcnsIcon.

## See also

TIcnsIcon |  | Implements a macOS Icon Resource file.
TList