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

TdxCustomListView.AddItem(string,TObject) Method

Appends a new item.

#Declaration

Delphi
procedure AddItem(const AItem: string; AObject: TObject);

#Parameters

Name Type Description
AItem string

An item caption.

AObject TObject

A specific object. This parameter value is assigned to the created item’s Data property.

#Remarks

An AddItem procedure call creates a new item with the default settings, assigns AItem and AObject parameter values to the created item’s Caption and Data properties, respectively, and appends the item to the control’s Items collection.

See Also