FMX.TreeView.TCustomTreeView.GetItemRect
Delphi
function GetItemRect(const Item: TTreeViewItem): TRectF;
C++
System::Types::TRectF __fastcall GetItemRect(TTreeViewItem* const Item);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | FMX.TreeView.pas FMX.TreeView.hpp |
FMX.TreeView | TCustomTreeView |
Description
Returns the TRectF of the specified item.
The item whose rectangle area needs to be returned is given through the Item parameter. If the specified tree item does not exist, GetItemRect returns a null rectangle (all the coordinates are 0).