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

Create(TdxDynamicItemList,Integer) Constructor

Creates a new item at the specified position within the dynamic item list.

#Declaration

Delphi
constructor Create(AOwner: TdxDynamicItemList; AIndex: Integer); virtual;

#Parameters

Name Type Description
AOwner TdxDynamicItemList

The parent dynamic item list.

AIndex Integer

The target item position within the specified parent list.

#Remarks

Call this constructor to create a new item within the dynamic list passed as the AOwner parameter. The newly created item’s position within the list is determined by a zero-based index passed as the AIndex parameter. The specified index initializes the Index property.

To destroy a dynamic list item, call the dynamic list’s DeleteItem procedure.

Note

TdxDynamicListItem class descendants normally override the Create constructor to initialize the item’s type-specific properties and fields.

See Also