FMX.ListView.Types.TListItemView.DrawableByName

From RAD Studio API Documentation
Jump to: navigation, search

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