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

TcxCustomListView.AddItem(string,TObject) Method

Adds an item into the list view.

#Declaration

Delphi
procedure AddItem(Item: string; AObject: TObject);

#Parameters

Name Type
Item string
AObject TObject

#Remarks

Use the AddItem method to add a new item into the list view.

The AItem parameter specifies the caption of the item displayed within the list view. The AObject parameter contains an object representing the Data property value of the added item. This property value can be used as the sorting criterion (see the SortType and AlphaSort members descriptions for details).

See Also