FMX.ListView.Types.TListItemAccessory.CalculateLocalRect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CalculateLocalRect(const DestRect: TRectF; const SceneScale: Single;
const DrawStates: TListItemDrawStates; const Item: TListItem); override;

C++

virtual void __fastcall CalculateLocalRect(const System::Types::TRectF &DestRect, const float SceneScale, const TListItemDrawStates DrawStates, TListItem* const Item);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.ListView.Types.pas
FMX.ListView.Types.hpp
FMX.ListView.Types TListItemAccessory

Description

Calculates the destination rectangle area of a list item accessory object.

The CalculateLocalRect method receives the TRect destination area of a list item accessory object, the scene scale and the TListItemDrawStates drawing state. It calculates the resulting destination area that the accessory item will occupy.

See Also