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

# TItemPropList

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

Implements a storage container for items added to TValueListEditor.

## Declaration

Source position: valedit.pas line 56

`type TItemPropList = class`
`public`
`procedure Add();` |  | Appends the specified item to the list.
`procedure Assign();` |  | Sets the items in the container to the specified values.
`procedure Clear;` |  | Removes all items in the container.
`procedure Delete();` |  | Removes an item in the container at the specified position.
`procedure Exchange();` |  | Swaps the items at the specified positions.
`procedure Insert();` |  | Inserts the new item at the specified position in the container.
`constructor Create();` |  | Constructor for the class instance.
`destructor Destroy; override;` |  | Destructor for the class instance.
`property Count: Integer; [r]` |  | Number of items in the list for the container.
`property Items []: TItemProp; default; [rw]` |  | Provides access to items in the container by their ordinal position.
`end;`

## Inheritance

`TItemPropList` |  | Implements a storage container for items added to TValueListEditor.
`TObject`

## Description

TItemPropList is a class which implements a storage container for items added to TValueListEditor. TItemPropList uses a TFPObjectList member to store the TItemProp instances in the list. A TValueListStrings member is used for the owner of the list.

Properties and Methods are provided to add or maintain the items in the list. Use Items (the default property for the container) to read or write the items defined in the list.

## See also

TItemProp |  | Represents items in the TValueListEditor control.
TItemPropList.Items |  | Provides access to items in the container by their ordinal position.
TValueListStrings |  | Stores values and item definitions used in TValueListEditor.