FMX.ListBox.TCustomComboBox.ListItems
Delphi
property ListItems[Index: Integer]: TListBoxItem read GetListItem;
C++
__property TListBoxItem* ListItems[int Index] = {read=GetListItem};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | public | FMX.ListBox.pas FMX.ListBox.hpp |
FMX.ListBox | TCustomComboBox |
説明
指定された Index
のリスト項目を返します。
ListItems を使用すると、指定された Index
の項目を、ドロップダウン リストから取得することができます。返される項目は、TListBoxItem オブジェクトです。項目を文字列で取得したい場合は、Items を使用します。
項目の追加
- 設計時に、項目を TListBoxItem として追加するには、「ListBox 項目エディタ」を参照してください。
- 設計時に、項目を TStrings として追加するには、「文字列リスト エディタ」を参照してください。