FMX.ListView.Types.TListItemView.DrawableByName
Delphi
function DrawableByName(const AName: string): TListItemDrawable;
C++
TListItemDrawable* __fastcall DrawableByName(const System::UnicodeString AName);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.ListView.Types.pas FMX.ListView.Types.hpp |
FMX.ListView.Types | TListItemView |
Description
Returns a list item drawable from the view list that has the specified name.
A list item drawable with the specified name must exist. Otherwise, DrawableByName raises an EListError exception with the following message:
- "Item not found"
See Also
- FMX.ListView.Types.TListItemView.Add
- FMX.ListView.Types.TListItemView.Clear
- FMX.ListView.Types.TListItemView.Count
- FMX.ListView.Types.TListItemView.Delete
- FMX.ListView.Types.TListItemView.Drawables
- FMX.ListView.Types.TListItemView.Exclude
- FMX.ListView.Types.TListItemView.Include
- FMX.ListView.Types.TListItemView.Insert
- FMX.ListView.Types.TListItemView.ViewList