FMX.ListView.Types.TListItemAccessory.Render
Delphi
procedure Render(const Canvas: TCanvas; const DrawItemIndex: Integer; const DrawStates: TListItemDrawStates; const Resources: TListItemStyleResources; const Params: TListItemDrawable.TParams; const SubPassNo: Integer = 0); override;
C++
virtual void __fastcall Render(Fmx::Graphics::TCanvas* const Canvas, const int DrawItemIndex, const TListItemDrawStates DrawStates, TListItemStyleResources* const Resources, const TListItemDrawable::TParams &Params, const int SubPassNo = 0x0);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.ListView.Types.pas FMX.ListView.Types.hpp |
FMX.ListView.Types | TListItemAccessory |
Description
Renders the content of a list item accessory object.
The Render method receives the TCanvas, the draw item index, the TListItemDrawStates, and the pass counter value. It draws the AccessoryType icon.