Skip to main content

TdxDynamicItemList.Items Property

Provides zero-based indexed access the list’s content.

Declaration

property Items[Index: Integer]: TdxDynamicListItem read; write; default;

Property Value

Type
TdxDynamicListItem

Remarks

You can use this property to:

  • Obtain the item whose index within the list is passed as the Index parameter;

  • Create a new item at an empty Index position or replace an existing item by assigning another item within the same or different list.

The Items property returns nil if the specified position is empty.

You can pass the FirstIndex or LastIndex property value as the Index parameter to access the first or last item within the dynamic list, respectively.

See Also