FMX.ListView.Appearances.TAppearanceListViewItems.AddItem

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AddItem(const Index: Integer = -1): TListViewItem;

C++

TListViewItem* __fastcall AddItem(const int Index = 0xffffffff);

Properties

Type Visibility Source Unit Parent
function public
FMX.ListView.Appearances.pas
FMX.ListView.Appearances.hpp
FMX.ListView.Appearances TAppearanceListViewItems

Description

Inserts a new item into the list of items in a TListView collection at the specific position and shifts other items to the end of the list.

When the Index parameter is set to 0, the method inserts the item at the beginning of the list.

See Also