FMX.ListView.Appearances.TAppearanceListViewItems.AddItem

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function AddItem(const Index: Integer = -1): TListViewItem; // not part of interface

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