Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxDynamicItemList.FindItem(Integer) Method

Returns the stored item by the specified index within the list.

#Declaration

Delphi
function FindItem(const AIndex: Integer): TdxDynamicListItem;

#Parameters

Name Type
AIndex Integer

#Returns

Type
TdxDynamicListItem

#Remarks

This function is called internally by the CreateItem function and every time a list item is accessed via the Items property or its equivalent in TdxDynamicItemList class descendants.

The FindItem function returns the item located at the logical position within the list passed as the AIndex parameter. If the specified index corresponds to a gap within the list, the function returns nil.

See Also