From RAD Studio API Documentation
Jump to: navigation, search


property ItemData: TListBoxItemData read FItemData write SetItemData;


__property TListBoxItemData* ItemData = {read=FItemData, write=SetItemData};


Type Visibility Source Unit Parent
property published
FMX.ListBox TListBoxItem


Specifies various data that can be attached to a TListBoxItem in order to be shown in the list box.

Use the ItemData property in order to attach various data to a list box item. This data can then be displayed in the list box.


ItemData has four sub-properties:

  • Accessory - lets you add to the selected list box item one of the following items:
    • Checkmark icon CheckItemData.png
    • Detail icon DetailItemData.png
    • More icon MoreItemData.png
    • No icon (this is the default)
  • Bitmap - lets you add a bitmap image to your item.
  • Detail - lets you add an additional text that describes your list box item.
  • Text - allows you to change the text displayed on your list box item.


In the picture above, two list box items are present in the list:

  • The first one has a bitmap image, additional text description and no accessory icon.
  • The second one has a bitmap image, additional text description and the Detail accessory icon.

See Also