Back to Devexpress

TdxCustomListView.AddItem(string,TObject) Method

vcl-dxlistview-dot-tdxcustomlistview-dot-additem-x28-system-dot-string-system-dot-tobject-x29.md

latest1.1 KB
Original Source

TdxCustomListView.AddItem(string,TObject) Method

Appends a new item.

Declaration

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

Parameters

NameTypeDescription
AItemstring

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

TdxCustomListView Class

TdxCustomListView Members

dxListView Unit