FMX.ListBox.TListBoxItemStyleDefaults.ItemStyle
Delphi
property ItemStyle: string read GetItemStyle write SetItemStyle nodefault;
C++
__property System::UnicodeString ItemStyle = {read=GetItemStyle, write=SetItemStyle};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.ListBox.pas FMX.ListBox.hpp |
FMX.ListBox | TListBoxItemStyleDefaults |
Description
ItemStyle is a string property that assigns a default style to a list box.
The values for FMX.ListBox.TListBoxItemStyleDefaults.ItemStyle are listed here and shown in the accompanying image:
- colorlistboxitemstyle
- listboxitembottomdetail
- listboxitemdetaillabel
- listboxitemlabel
- listboxitemleftdetail
- listboxitemnodetail
- listboxitemrightdetail
- listboxitemstyle
Several of these values are also used in the StyleLookup property of TListBox, and their look-and-feel is illustrated in Add Detail Information to an Item.
To set the ItemStyle, select a TListBox in the Object Inspector, double-click the down arrow in the ItemStyle field, and then select the style you want from the popup.