Skip to main content

TcxCustomListView.AddItem(string,TObject) Method

Adds an item into the list view.

Declaration

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